From e176f1bf3686c3f12e9003f0fd6150700fd301e3 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sun, 29 Oct 2023 02:00:21 +0200 Subject: [PATCH] fix a logger bug --- rendercv/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rendercv/__main__.py b/rendercv/__main__.py index d960b38..6e279cd 100644 --- a/rendercv/__main__.py +++ b/rendercv/__main__.py @@ -125,6 +125,7 @@ def user_friendly_errors(func: Callable) -> Callable: except Exception as e: # It is not a Pydantic error new_args = list(e.args) + new_args = [str(arg).strip() for arg in new_args] error_message = "\n\n ".join(new_args) logger.error(error_message)