~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Robert Collins
  • Date: 2005-10-06 22:15:52 UTC
  • mfrom: (1185.13.2)
  • mto: This revision was merged to the branch mainline in revision 1420.
  • Revision ID: robertc@robertcollins.net-20051006221552-9b15c96fa504e0ad
mergeĀ fromĀ upstream

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