Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: J0J0 Todos <2733783+JOJ0@users.noreply.github.com>
  • Loading branch information
JacksonChen666 and JOJ0 authored Jan 31, 2025
1 parent eaaa465 commit 38d8e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synadm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def log_fatal_exit(error, logger, message=None):
if message is None:
message = "synadm exited due to a fatal error."

# split by new lines that's already included
# format_exception() returns a list of strings. join it into a single string again.
logger.info("".join(traceback.format_exception(error)))

logger.fatal(
Expand Down

0 comments on commit 38d8e70

Please sign in to comment.