def handle_500(_, response, exception):
  logging.exception(exception)
  response.set_status(500)
  response.write(jinja_environment.get_template('500.html').render())
Handles 500, error processing page exceptions.
dataset/ETHPy150Open AppScale/appscale/AppDashboard/dashboard.py/handle_500