From 6c2442e2eff26439a888b1aa90cb95ac9ed2f12f Mon Sep 17 00:00:00 2001 From: Stijn Peeters Date: Thu, 16 Nov 2023 20:43:50 +0100 Subject: [PATCH] Guess this was a bad idea --- backend/lib/worker.py | 2 -- 1 file changed, 2 deletions(-) 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): """