Skip to content

Commit

Permalink
Log some additional details on websocket event errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Sep 30, 2019
1 parent ab91090 commit b269314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion king_phisher/server/web_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def _worker_routine(self):
try:
func(*args)
except Exception:
self.logger.error('web socket manager worker thread encountered an exception while processing a job', exc_info=True)
self.logger.error("web socket manager worker thread encountered an exception while processing job: {}{!r}".format(func.__name__, args), exc_info=True)

def __iter__(self):
for web_socket in self.web_sockets:
Expand Down

0 comments on commit b269314

Please sign in to comment.