I ended up doing this by monkeypatching bzrlib.trace.log_exception_quietly. That doesn't work, however, since modules import log_exception_quietly before the monkeypatcher runs. Suck.
I'm going to do this right by adding a hook to bzr itself.
I ended up doing this by monkeypatching bzrlib. trace.log_ exception_ quietly. That doesn't work, however, since modules import log_exception_ quietly before the monkeypatcher runs. Suck.
I'm going to do this right by adding a hook to bzr itself.