mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Log traceback to file in debug mode.
This commit is contained in:
@@ -204,7 +204,7 @@ def msg_thread(cls):
|
||||
except Exception as e:
|
||||
logging.warning('process message error %s', str(e))
|
||||
if cls._sc.debug:
|
||||
traceback.print_exc()
|
||||
logging.error(traceback.format_exc())
|
||||
|
||||
if processed is False:
|
||||
time.sleep(timeout)
|
||||
|
||||
Reference in New Issue
Block a user