We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b5f54 commit a8ff6c5Copy full SHA for a8ff6c5
jsb/plugs/socket/irccat.py
@@ -25,6 +25,7 @@
25
import logging
26
import socketserver
27
import time
28
+import sys
29
import traceback
30
from socketserver import StreamRequestHandler, ThreadingMixIn
31
@@ -124,7 +125,8 @@ def init_threaded():
124
125
(cfg.data["host"], int(cfg.data["dbport"])), IrcCatListener
126
)
127
except Exception as ex:
- logging.error(traceback.format_exception(ex))
128
+ exc_type, exc_value, exc_tb = sys.exc_info()
129
+ logging.error(traceback.format_exception(exc_type, exc_value, exc_tb))
130
return
131
logging.warn(
132
"starting irccat server on %s:%s" % (cfg.data["host"], cfg.data["dbport"])
0 commit comments