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
However the function works only when I call it and not when the errors occur.
This means that after each step I would need to call the function which is not ideal for various reasons. (Otherwise the traceback will be overwritten by the next error)
Would it be possible to add an option for logging the traceback inside the log_errors() function? (Or create a log_traceback function)
The text was updated successfully, but these errors were encountered:
Thanks for the feature request! As I am busy with other things, I don't think I have the time to work in this in the coming months, so I would highly appreciate if someone can come up with a PR -- so thus I'm now setting the related "Help wanted" label.
I have an algorithm which is divided in various steps, all of them called inside a to_run file.
I want to log not only the errors but the traceback too.
I have written a function that does that:
However the function works only when I call it and not when the errors occur.
This means that after each step I would need to call the function which is not ideal for various reasons. (Otherwise the traceback will be overwritten by the next error)
Would it be possible to add an option for logging the traceback inside the
log_errors()
function? (Or create alog_traceback
function)The text was updated successfully, but these errors were encountered: