Python script to notify an admin if a 500 system error has occurred in Web2Py