I’m using Google Appengine in a production environment and we are currently getting 500 errors on both our website and console. Is there anything we can do to prevent these or handle them more gracefully?
EDIT: We’re using python with Webapp
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Setup error handlers: http://code.google.com/appengine/docs/python/config/appconfig.html#Custom_Error_Responses
When the error occurs in the app, error handlers can’t help. One solution is to wrap the application to handle uncaught exceptions:
If you can, give webapp2 a try. You can set simple functions to handle app-wide exceptions.