rafaelbco·il y a 2 ans·discussIn Zope you can create a local variable named __traceback_info__ and its value will be inserted in the traceback. It is very useful.Like add a line to a log, but only when an traceback is shown.See: https://zopeexceptions.readthedocs.io/en/latest/narr.html#tr...Seems like the zope.exceptions package can be used independent from Zope.
Like add a line to a log, but only when an traceback is shown.
See: https://zopeexceptions.readthedocs.io/en/latest/narr.html#tr...
Seems like the zope.exceptions package can be used independent from Zope.