- py3 friendly excepton

This commit is contained in:
liris
2014-04-10 09:52:32 +09:00
parent 81a588ba07
commit b10468f207

View File

@@ -985,7 +985,7 @@ class WebSocketApp(object):
if callback:
try:
callback(self, *args)
except Exception, e:
except Exception as e:
logger.error(e)
if logger.isEnabledFor(logging.DEBUG):
_, _, tb = sys.exc_info()