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