Show traceback in protocol parser error handler

This commit is contained in:
Peter Šurda 2018-02-12 17:07:54 +01:00
parent 2bc2b6bc5b
commit eb97face61
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -61,7 +61,7 @@ class AdvancedDispatcher(asyncore.dispatcher):
if not getattr(self, "state_" + str(self.state))():
break
except AttributeError:
logger.error("Unknown state %s", self.state)
logger.error("Unknown state %s", self.state, exc_info=True)
raise
except BusyError:
return False