Remove accidentally sneeded debug code.

We were experiencing errors on prod where is_repost would not have
either g or g.db available on request teardown, which would eventually
culminate in errors.py:error_500. These haven't reoccurred for nearly
16hrs now, and the test code got caught in a 'sneed' commit. Best to
have it gone.
remotes/1693176582716663532/tmp_refs/heads/watchparty
Snakes 2022-10-12 04:32:18 -04:00
parent ad52c49782
commit 3482f97bfb
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 0 additions and 2 deletions

View File

@ -47,8 +47,6 @@ def error_401(e):
@app.errorhandler(500)
def error_500(e):
if not g: print("500: not g")
if not g.db: print("500: not g.db")
g.db.rollback()
return error(e)