سؤال

I would like to know how I can get Google App Engine to notify me via email the moment a 500 is registered on the server.

My app is running Flask, Python on Google App Engine.

Any ideas ?

هل كانت مفيدة؟

المحلول

Take a look on ereporter. It's allows you to configure a cron job wich will send you an email with latest registered exceptions.

UPDATE: For WSGI in app.yaml you should use:

- url: /_ereporter.*
  script: google.appengine.ext.ereporter.report_generator.application
  login: admin
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top