Yucky exceptions

Michael Ellerman michael at ellerman.id.au
Tue Nov 29 07:35:34 GMT 2005


Hi y'all,

When did we start printing the class name in exceptions? I don't like it, it 
makes it look like a bug, rather than an error, eg:

bzr: ERROR: bzrlib.errors.BzrCommandError: No shelf found in branch 
'/home/michael/src/bzr/test'
  at shelf.py line 58
  in unshelve

I'd prefer:

bzr: ERROR: No shelf found in branch '/home/michael/src/bzr/test'

Any more info should go in the log. Unless I've got debug on or something.

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051129/88480130/attachment.pgp 


More information about the bazaar mailing list