Skip to content

Commit

Permalink
change unexpected shutdown from error to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bigwheels16 committed Feb 7, 2021
1 parent c111dfb commit 07a0c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/system/system_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def connect_event(self, event_type, event_data):
if self.expected_shutdown().get_value():
msg = self.getresp("module/system", "expected_online")
else:
self.logger.error("the bot has recovered from an unexpected shutdown or restart")
self.logger.warning("The bot has recovered from an unexpected shutdown or restart")
msg = self.getresp("module/system", "unexpected_online")
self.bot.send_private_message(self.bot.superadmin, msg)
self.bot.send_org_message(msg, fire_outgoing_event=False)
Expand Down

0 comments on commit 07a0c02

Please sign in to comment.