~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Martin Pool
  • Date: 2005-10-06 07:28:41 UTC
  • mto: (1185.13.3)
  • mto: This revision was merged to the branch mainline in revision 1418.
  • Revision ID: mbp@sourcefrog.net-20051006072841-8975ee964340418d
cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
    if msg == None:
165
165
        ei = sys.exc_info()
166
166
        msg = str(ei[1])
167
 
 
168
167
    if msg and (msg[-1] == '\n'):
169
168
        msg = msg[:-1]
170
 
        
 
169
    ## msg = "(%s) %s" % (str(type(ei[1])), msg)
171
170
    _bzr_logger.exception(msg)
172
171
 
173
172