Now if only error 500 would actually give a 500 error status code

This commit is contained in:
Jeremy Zhang 2018-07-31 03:29:14 +00:00
parent 5f8ecf03ed
commit 4b254bbc54

View File

@ -99,4 +99,4 @@ def internal_server_error(error):
return render_template('500.html.j2', return render_template('500.html.j2',
event_id=g.sentry_event_id, event_id=g.sentry_event_id,
public_dsn=sentry.client.get_public_dsn('https') public_dsn=sentry.client.get_public_dsn('https')
) ), 500