From a6005fde284190c45fc7fb463121ddf008bcab57 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 29 Jan 2025 18:21:07 +0100 Subject: [PATCH] feat: simplify traceback display The Rich way to display is confusing and pretty verbose. --- freqtrade/loggers/ft_rich_handler.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/freqtrade/loggers/ft_rich_handler.py b/freqtrade/loggers/ft_rich_handler.py index bbd3d8fbd..1b3bb3caf 100644 --- a/freqtrade/loggers/ft_rich_handler.py +++ b/freqtrade/loggers/ft_rich_handler.py @@ -38,11 +38,6 @@ class FtRichHandler(Handler): self._console.print( Text() + log_time + gray_sep + name + gray_sep + log_level + gray_sep + msg ) - tb = None - if record.exc_info: - exc_type, exc_value, exc_traceback = record.exc_info - tb = Traceback.from_exception(exc_type, exc_value, exc_traceback, extra_lines=1) - self._console.print(tb) except RecursionError: raise