This commit is contained in:
Robert Jensen 2013-12-26 16:23:25 -08:00
commit ab84fe3fb2
2 changed files with 2 additions and 0 deletions

View File

@ -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"

View File

@ -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)