Skip to content

Commit a6005fd

Browse files
committed
feat: simplify traceback display
The Rich way to display is confusing and pretty verbose.
1 parent 486a4ed commit a6005fd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

freqtrade/loggers/ft_rich_handler.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ def emit(self, record):
3838
self._console.print(
3939
Text() + log_time + gray_sep + name + gray_sep + log_level + gray_sep + msg
4040
)
41-
tb = None
42-
if record.exc_info:
43-
exc_type, exc_value, exc_traceback = record.exc_info
44-
tb = Traceback.from_exception(exc_type, exc_value, exc_traceback, extra_lines=1)
45-
self._console.print(tb)
4641

4742
except RecursionError:
4843
raise

0 commit comments

Comments
 (0)