mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 19:52:53 +01:00
Irc: actually abort when handle_events errors
This commit is contained in:
parent
181c40d9fe
commit
f80b383d06
@ -248,6 +248,7 @@ class Irc():
|
||||
except Exception:
|
||||
log.exception('(%s) Caught error in handle_events, disconnecting!', self.name)
|
||||
log.error('(%s) The offending line was: <- %s', self.name, line)
|
||||
self.aborted.set()
|
||||
return
|
||||
# Only call our hooks if there's data to process. Handlers that support
|
||||
# hooks will return a dict of parsed arguments, which can be passed on
|
||||
|
Loading…
Reference in New Issue
Block a user