Add exc_info

This commit is contained in:
Dmitri Bogomolov 2021-09-02 17:48:20 +03:00
parent 850ec7e478
commit 945653aa83
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -155,7 +155,8 @@ class singleWorker(StoppableThread):
try: try:
self.sendBroadcast() self.sendBroadcast()
except: # noqa:E722 except: # noqa:E722
self.logger.warning("sendBroadcast didn't work") self.logger.warning(
"sendBroadcast didn't work", exc_info=True)
elif command == 'doPOWForMyV2Pubkey': elif command == 'doPOWForMyV2Pubkey':
try: try:
self.doPOWForMyV2Pubkey(data) self.doPOWForMyV2Pubkey(data)