Nevermind, I think I answered my own question via Nick Johnson's post
here: 
http://stackoverflow.com/questions/1318960/python-gae-web-request-error-handling

...it looks like it's safe to call handle_exception on all code paths
b/c only the debug version prints anything to response.out.

On Feb 20, 11:13 am, kamens <[email protected]> wrote:
> Does Google App Engine's error logging (as seen on the Dashboard) rely
> on webapp.RequestHandler.handle_exception being called?
>
> In other words, if I subclass webapp.RequestHandler, implement
> handle_exception, and one of my code paths does not call
> webapp.RequestHandler.handle_exception, will the dashboard continue to
> count/display these crashes?
>
> Example:
>
> class RequestHandler(webapp.RequestHandler):
>     def handle_exception(self, e, *args):
>         if False:
>             return webapp.RequestHandler.handle_exception(self, e,
> args)
>
> Note that I'm trying to implement a custom error handler for all
> crashes to, say, send the error to another service and render a custom
> error page.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to