From e2f3af450b25f0ed4a7b0341568d49ef8eb9458a Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Tue, 5 May 2026 19:57:19 +0200 Subject: [PATCH] Print error class name if nothing else Signed-off-by: Jiri Podivin --- src/logdetective_packit/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logdetective_packit/main.py b/src/logdetective_packit/main.py index e24cf25..e821871 100644 --- a/src/logdetective_packit/main.py +++ b/src/logdetective_packit/main.py @@ -144,7 +144,7 @@ async def call_log_detective( await publish_message(message) raise ex except Exception as ex: - msg = f"Request to Log Detective API at {LD_URL} failed with {ex}" + msg = f"Request to Log Detective API at {LD_URL} failed with {type(ex).__name__}: {ex}" LOG.error(msg=msg) message = build_error_message( log_detective_analysis_id=log_detective_analysis_id,