From ac7b5c14f4ead2d6ad2ac72f0e6dc701120b59ac Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 27 Jan 2017 21:36:54 +0000 Subject: [PATCH] logging EventManager errors with EventManger is a bad idea --- EventManager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EventManager.py b/EventManager.py index 70700f4a..827572fa 100644 --- a/EventManager.py +++ b/EventManager.py @@ -74,9 +74,9 @@ class EventHook(object): except Exception as e: traceback.print_exc() # TODO don't make this an event call. can lead to error cycles! - self.bot.events.on("log").on("error").call( - message="Failed to call event callback", - data=traceback.format_exc()) + #self.bot.events.on("log").on("error").call( + # message="Failed to call event callback", + # data=traceback.format_exc()) called += 1 return returns def get_child(self, child_name):