mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 18:43:04 +00:00
feat: simplify traceback display
The Rich way to display is confusing and pretty verbose.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user