From f4e25632d7852be28ca1b26e4d39bed8ba86d382 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 20 Nov 2024 21:52:33 +0100 Subject: [PATCH] process_single_ticket(): fix error logging --- voctopublish/voctopublish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voctopublish/voctopublish.py b/voctopublish/voctopublish.py index e8ffb8a..0c97789 100755 --- a/voctopublish/voctopublish.py +++ b/voctopublish/voctopublish.py @@ -658,7 +658,7 @@ def process_single_ticket(): except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() w.c3tt.set_ticket_failed(w.ticket_id, f"{exc_type.__name__}: {e}") - self.logger.exception(f"could not process ticket {w.ticket_id}") + logging.exception(f"could not process ticket {w.ticket_id}") return False