From c65dc3441a2fa8247f705fecade60a927d674463 Mon Sep 17 00:00:00 2001 From: Joachim Ungar Date: Wed, 17 Jan 2024 08:33:02 +0100 Subject: [PATCH] use repr(exception) to also report on exception type --- mapchete/commands/_execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapchete/commands/_execute.py b/mapchete/commands/_execute.py index 9d2bf6e9..80941cf7 100644 --- a/mapchete/commands/_execute.py +++ b/mapchete/commands/_execute.py @@ -196,7 +196,7 @@ def execute( retries -= 1 all_observers.notify( status=Status.retrying, - message=f"run failed due to {str(exception)} (remaining retries: {retries})", + message=f"run failed due to {repr(exception)} (remaining retries: {retries})", ) else: raise