From 945653aa8359bf1502409a2dd5e1d85433dddd64 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Thu, 2 Sep 2021 17:48:20 +0300 Subject: [PATCH] Add exc_info --- src/class_singleWorker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/class_singleWorker.py b/src/class_singleWorker.py index f302300d..b0228d98 100644 --- a/src/class_singleWorker.py +++ b/src/class_singleWorker.py @@ -155,7 +155,8 @@ class singleWorker(StoppableThread): try: self.sendBroadcast() except: # noqa:E722 - self.logger.warning("sendBroadcast didn't work") + self.logger.warning( + "sendBroadcast didn't work", exc_info=True) elif command == 'doPOWForMyV2Pubkey': try: self.doPOWForMyV2Pubkey(data)