1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-18 18:07:37 +03:00

Adjust logging to include type (and not strictly False).

This commit is contained in:
Athanasius 2021-03-22 11:48:52 +00:00
parent 34c0536a7e
commit b4d928246e

View File

@ -187,8 +187,9 @@ Msg:\n{msg}'''
# Paranoia check in case this function gets chain-called.
if not self.replaylog:
logger.error('self.replaylog is False after update_idletasks(). Traceback:\n'
f'{"".join(traceback.format_list(traceback.extract_stack()))}')
logger.error(
f'self.replaylog (type: {type(self.replaylog)}) is falsey after update_idletasks(). Traceback:\n'
f'{"".join(traceback.format_list(traceback.extract_stack()))}')
return
try: