python - GAE email me errors -


Is there an error when I can be configured to bust an email?

I think the best you can do is in your main function Try some code like ...:

Try: ... your body's main body goes here ... except: google.appengine.api import mail import sys mail.send_mail (sender = "Your GAE App"; yourappname@example.com> "," Your app engine app raised an exception:% s ""% sys.exc_info () [:] "", = "You & lt; bobobobo @ Example.com & gt; ", topic =" GAE app error ", body =" "2])

(Of course, you can get better information on exception information etc. Rupn can).


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -