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

This commit is contained in:
Athanasius committed 2021-03-22 11:48:52 +00:00
1 parent 34c0536a7e
commit b4d928246e
1 file changed
+3 -2
+3 -2
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: