increase max callstack lenght for error msgs
3clyp50 committed
Jan 19, 2026 at 05:38 UTC
6fea51b6b030a05c4f9086495de782686107ff86
1 file changed
+1
-1
python/helpers/errors.py
+1
-1
@@ -13,7 +13,7 @@ def error_text(e: Exception):
13
return str(e)
14
15
16
-def format_error(e: Exception, start_entries=6, end_entries=4):
16
+def format_error(e: Exception, start_entries=20, end_entries=15):
17
# format traceback from the provided exception instead of the most recent one
18
traceback_text = ''.join(traceback.format_exception(type(e), e, e.__traceback__))
19
# Split the traceback into lines