How can I make AppEngine show the errors from the log console in the page that I’m trying to load, so that I can avoid going to the log every time?
Share
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.
In general, you can catch all Errors, including syntax errors, with a catch-all (
except:) clause of a try statement. If you can employ this tactic in your code and then show the exception in, for example, an alert message (or any other way), you got what you asked for.Also, Have a look at this question and the accepted answer. If you override
handle_exceptionas instructed there, you can put code that modifies the response to the request in a way you’d like.