diff --git a/backend/lib/worker.py b/backend/lib/worker.py index 662c32e4e..de9f3802a 100644 --- a/backend/lib/worker.py +++ b/backend/lib/worker.py @@ -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): """