Exception mangling in hooks?
James Westby
jw+debian at jameswestby.net
Fri Feb 27 11:22:54 GMT 2009
On Fri, 2009-02-27 at 21:50 +1100, Andrew Bennetts wrote:
> There's a limit to how much we can protect bzrlib against plugins. New
> branch formats like bzr-loom's integrate at a very deep and pervasive level,
> so the best we can realistically do for that case is something like tweak
> bzrlib.trace.report_bug to examine the traceback we're about to show the
> user and modify our “Please report a bzr bug” message to be a bit more
> ambivalent if “bzrlib/plugins” appears in the traceback.
I'm not sure we need to change anything there do we? I think currently
the cost of re-assigning the few bugs, or closing them for local
plugins, is outweighed by the fact that this helps our users get help
with the problems.
It also helps us the learn about what plugins are doing, how they are
doing it, and what problems this leads to, which will lead to a better
system overall.
Thanks,
James
More information about the bazaar
mailing list