Show traceback in protocol parser error handler
This commit is contained in:
parent
2bc2b6bc5b
commit
eb97face61
|
@ -61,7 +61,7 @@ class AdvancedDispatcher(asyncore.dispatcher):
|
||||||
if not getattr(self, "state_" + str(self.state))():
|
if not getattr(self, "state_" + str(self.state))():
|
||||||
break
|
break
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
logger.error("Unknown state %s", self.state)
|
logger.error("Unknown state %s", self.state, exc_info=True)
|
||||||
raise
|
raise
|
||||||
except BusyError:
|
except BusyError:
|
||||||
return False
|
return False
|
||||||
|
|
Reference in New Issue
Block a user