increase logging verbosity for WebSocket message errors

This commit is contained in:
shaun 2015-06-13 11:22:51 +10:00
parent fd9c3d42d8
commit 38c063ddc5

View file

@ -894,7 +894,7 @@ class WebSocketApp(object):
callback(self, *args) callback(self, *args)
except Exception, e: except Exception, e:
logger.error(e) logger.error(e)
if logger.isEnabledFor(logging.DEBUG): if True:#logger.isEnabledFor(logging.DEBUG):
_, _, tb = sys.exc_info() _, _, tb = sys.exc_info()
traceback.print_tb(tb) traceback.print_tb(tb)