[MERGE] Include formatted traceback in SmartMessageHandlerError details.

John Arbash Meinel john at arbash-meinel.com
Thu Dec 18 06:17:11 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Bennetts wrote:
> This is just a simple patch to extend SmartMessageHandlerError a little.
> I've found it very helpful when debugging my work on adding a
> VersionedFiles.insert_record_stream RPC.
> 
> This would also help with diagnosing bugs like
> <https://bugs.launchpad.net/bzr/+bug/304544>.
> 
> -Andrew.
> 
> 

This only effects debugging right? Otherwise I would think that seeing a
formatted traceback as part of an already formatted traceback would be a
bit weird.

Also, shouldn't there be a test in bzrlib/tests/test_errors.py that
needs updating?

BB:tweak

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklJ6ucACgkQJdeBCYSNAAPMQgCbBnGcg0vfROI5lVqyXXV8ulqO
3C4An0MCfJE6mreynDJggXIk22WR/3ol
=OgdJ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list