mirror of
https://github.com/rendercv/rendercv.git
synced 2026-10-24 05:08:46 -04:00
fix a logger bug
This commit is contained in:
1 parent
e69b2fbede
commit
e176f1bf36
1 file changed
+1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user