/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Vincent Ladeuil
  • Date: 2011-11-24 15:48:29 UTC
  • mfrom: (6289 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6337.
  • Revision ID: v.ladeuil+lp@free.fr-20111124154829-avowjpsxdl8yp2vz
merge trunk resolving conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
            return
71
71
    except ImportError, e:
72
72
        trace.mutter("couldn't find apport bug-reporting library: %s" % e)
73
 
        pass
74
73
    except Exception, e:
75
74
        # this should only happen if apport is installed but it didn't
76
75
        # work, eg because of an io error writing the crash file
77
 
        stderr.write("bzr: failed to report crash using apport:\n "
78
 
            "    %r\n" % e)
79
 
        pass
 
76
        trace.mutter("bzr: failed to report crash using apport: %r" % e)
 
77
        trace.log_exception_quietly()
80
78
    return report_bug_legacy(exc_info, stderr)
81
79
 
82
80