Send email and log to file when there's an uncaught exception in your code
pip install crashlog
import crashlog
crashlog.install(email=['[email protected]'], logfile='/path/to/log.txt')
For email to work, you need to set SMTP_SERVER
environment variable and
optionally SMTP_USER
and SMTP_PASSWORD
.
Miki Tebeka [email protected]
Bug reports go here.