From eb97face6170984a579cb5c597998357eacb9c50 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 12 Feb 2018 17:07:54 +0100 Subject: [PATCH] Show traceback in protocol parser error handler --- src/network/advanceddispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/advanceddispatcher.py b/src/network/advanceddispatcher.py index 31555c62..6f857398 100644 --- a/src/network/advanceddispatcher.py +++ b/src/network/advanceddispatcher.py @@ -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