From 3ed1454168a045ed3d558910b6136b8166523488 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 29 Dec 2024 11:44:21 +0100 Subject: [PATCH] chore: reduce traceback verbosity --- freqtrade/loggers/ft_rich_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/loggers/ft_rich_handler.py b/freqtrade/loggers/ft_rich_handler.py index e3c273c81..6c18d15b9 100644 --- a/freqtrade/loggers/ft_rich_handler.py +++ b/freqtrade/loggers/ft_rich_handler.py @@ -33,7 +33,7 @@ class FtRichHandler(Handler): 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) + tb = Traceback.from_exception(exc_type, exc_value, exc_traceback, extra_lines=1) self._console.print(tb) self.flush()