From b4d928246e02a61d113c9f7a3eeb8eb6913eee52 Mon Sep 17 00:00:00 2001 From: Athanasius <github@miggy.org> Date: Mon, 22 Mar 2021 11:48:52 +0000 Subject: [PATCH] Adjust logging to include type (and not strictly False). --- plugins/eddn.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/eddn.py b/plugins/eddn.py index 246d7b1d..d3df32f8 100644 --- a/plugins/eddn.py +++ b/plugins/eddn.py @@ -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: