forked from Minecraft/minecraft_manager
Added logging for OreAlert crashes.
Hopefully this will help find the source of all the crashes.reminder
parent
a314e51262
commit
d4b0a58b19
|
@ -290,7 +290,8 @@ class OreAlert:
|
|||
self.playerList.append(p)
|
||||
except KeyboardInterrupt:
|
||||
api.discord_notification("OreAlert has been stopped manually.")
|
||||
except:
|
||||
except Exception as e:
|
||||
logger.exception("OreAlert has crashed")
|
||||
api.discord_notification("OreAlert has crashed!", ping=True)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue