Revert "fix error with 500 page"

This reverts commit 3901b2c379.

Was just debugging code which is now unneeded.
remotes/1693176582716663532/tmp_refs/heads/watchparty
Snakes 2022-10-17 20:35:47 -04:00
parent 4d0e2013dc
commit 1fc7e748e0
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 0 additions and 3 deletions

View File

@ -46,9 +46,6 @@ def error_401(e):
@app.errorhandler(500)
def error_500(e):
if not getattr(g, 'db', None):
print(f'error 500 with no db: {request.full_path}')
return error(e)
g.db.rollback()
return error(e)