Skip to content

Commit

Permalink
Guess this was a bad idea
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Nov 16, 2023
1 parent 9b02ab5 commit 6c2442e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/lib/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ def run(self):
frames = [frame.filename.split("/").pop() + ":" + str(frame.lineno) for frame in frames]
location = "->".join(frames)
self.log.error("Worker %s raised exception %s and will abort: %s at %s" % (self.type, e.__class__.__name__, str(e), location))
finally:
self.db.close()

def abort(self):
"""
Expand Down

0 comments on commit 6c2442e

Please sign in to comment.