Skip to content

Commit

Permalink
refactor: removed unnecessary characters from log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago-da-silva23 committed Dec 12, 2023
1 parent 1391a0e commit 78780b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/util/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ def custom_exception_handler(exc, context):
response.content_type = "application/json"

logging.getLogger("nau_financial_manager").error(
f"\n----------\n time:{datetime.now()}\n error: {response.data},\n exc: '{exc}',\n context: {context} \n"
f"time:{datetime.now()}, error: {response.data}, exc: '{exc}', context: {context}"
)
return response

0 comments on commit 78780b8

Please sign in to comment.