Exception mangling in hooks?
John Arbash Meinel
john at arbash-meinel.com
Thu Feb 26 14:31:08 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
> [Plugins are entirely capable of
> raising a nicely formated error themselves, as the pass-through of an
> expected error type in the calling loop shows].
>
> -Rob
History has shown that plugins do tend to be sloppy about error
handling, and we have gotten a fair number of bug reports because of
things that plugins do. (I don't have a count, but as an example just
bzr-loom's handling of 'status' caused 3-4 repeat bugs to be raised in
bzr core, even though the last line clearly showed it was occurring in
bzr-loom.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmmp6wACgkQJdeBCYSNAAOnowCdG4bYBnDAhaUC/jAAXrY6dnr/
WrgAoJjMpYQqIgaYyw0nX5F9zC/sSJjO
=zQ5g
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list