Merge b79d0a7ca6 into 38db12c2b0
This commit is contained in:
commit
ab84fe3fb2
|
|
@ -16,6 +16,7 @@
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include "websocket.h"
|
#include "websocket.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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