~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Jonathan Riddell
  • Date: 2011-10-18 11:33:40 UTC
  • mto: This revision was merged to the branch mainline in revision 6224.
  • Revision ID: jriddell@canonical.com-20111018113340-jphdw26fjvozwaor
trace.log_exception_quietly() nicer

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        # this should only happen if apport is installed but it didn't
76
76
        # work, eg because of an io error writing the crash file
77
77
        trace.mutter("bzr: failed to report crash using apport: %r" % e)
78
 
        import traceback
79
 
        trace.mutter(traceback.format_exc())
 
78
        trace.log_exception_quietly()
80
79
        pass
81
80
    return report_bug_legacy(exc_info, stderr)
82
81