logging EventManager errors with EventManger is a bad idea
This commit is contained in:
parent
6615dda7a1
commit
ac7b5c14f4
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue