This is actually called by webapp2 when an exception is called. [Docs](http://webapp-improved.appspot.com/api/webapp2.html#webapp2.RequestHandler.handle_exception)