Skip to content

Commit

Permalink
馃攰 Use FATAL instead of ERROR for startup error logs
Browse files Browse the repository at this point in the history
See also #4973
  • Loading branch information
foosel committed Mar 28, 2024
1 parent 5bde1df commit 80abc25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/octoprint/cli/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def _log(message, level=logging.INFO):
except FatalStartupError as exc:
from traceback import format_exc

logging.getLogger("octoprint.startup").exception(
"There was a fatal error initializing OctoPrint:"
logging.getLogger("octoprint.startup").fatal(
"There was a fatal error initializing OctoPrint:", exc_info=True
)
click.echo(format_exc(), err=True)
click.echo(
Expand Down

0 comments on commit 80abc25

Please sign in to comment.