[Twisted-Python] formatting a CopiedFailure for GUI display

Eric Mangold teratorn at world-net.net
Sun Sep 21 04:03:37 EDT 2003

Hi folks,

When dealing with normal Failure instances, a simple str(aFailure.value) will 
produce an acceptably short error message.  However, a CopiedFailure's value 
attr is "".  str(aCopiedFailure) is the whole giant traceback, unsuitable for 
a gui message box.

Are there any alternatives?


More information about the Twisted-Python mailing list