-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URLs for site creating stack traces #25
Comments
SGTM. I think we can refactor such that
Another thing we can do is print the stack trace to the response if the user is logged in as a developer/admin user. Any other suggestions/thoughts? |
+1 - this is a pretty ugly UX at the moment. On Mon, Apr 16, 2012 at 10:23 AM, gavaletz
|
We can/should anticipate a lot of the things that would have caused stack traces and catch them sooner. I do think that Dave has the right idea though about a last ditch effort to catch unexpected errors, and it would be a good version 1 solution too. |
Ok, I'll make the changes described above. |
Any word on this? |
The original server code has a line: application = wsgi.WSGIApplication(m, debug=True) The stack trace goes away and instead an HTTP 500 response is sent when The longer-term fix is that each request handler has to define a nice way Should I submit the short-term fix or wait until I've defined a handler for On Fri, Aug 31, 2012 at 12:50 PM, Matt Welsh [email protected]:
|
I'd say short term fix for now. Thanks! On Mon, Sep 3, 2012 at 2:12 PM, drchoffnes [email protected] wrote:
|
Submitted in issue 9001. On Mon, Sep 3, 2012 at 2:56 PM, Matt Welsh [email protected] wrote:
|
This is something that is unlikely to happen from average users, but IMO it poses two issues when it does happen:
If I were to enter a URL such as http://openmobiledata.appspot.com/checkin
It should do something other than dump a stack trace to my browser. In most cases it should redirect to a help or FAQ instructing them about how to use the site.
In my case I was looking for JSON serialized data with the link '/timeseries/data'. Note that I am not saying that for development we shouldn't display the stack trace, but we should have a plan to do something more friendly for users.
The text was updated successfully, but these errors were encountered: