You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, logger with trace() option prints standart exception traceback.
But sometimes, it's better to see full exception trace, that contains frames before try/except block. Or see the traceback, even there is no exception at all.
What about to add trace(trace='full') option, that prints such "full" traceback, instead usuall one? Here is nice 'full_trace' function that returns such trace string.
Also, it would be nice to have 'full_error_trace=True' option, that forces add full tracebacks when there trace='error' option is set.
The text was updated successfully, but these errors were encountered:
Currently, logger with
trace()
option prints standart exception traceback.But sometimes, it's better to see full exception trace, that contains frames before
try/except
block. Or see the traceback, even there is no exception at all.What about to add
trace(trace='full')
option, that prints such "full" traceback, instead usuall one?Here is nice 'full_trace' function that returns such trace string.
Also, it would be nice to have 'full_error_trace=True' option, that forces add full tracebacks when there
trace='error'
option is set.The text was updated successfully, but these errors were encountered: