define exc for unhandled exception
This commit is contained in:
parent
76f113b751
commit
888fc4e17c
|
|
@ -1011,6 +1011,7 @@ class WebSocketServer(object):
|
|||
self.msg("In exit")
|
||||
break
|
||||
except Exception:
|
||||
_, exc, _ = sys.exc_info()
|
||||
self.msg("handler exception: %s", str(exc))
|
||||
self.vmsg("exception", exc_info=True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue