~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Martin Packman
  • Date: 2012-01-05 10:37:58 UTC
  • mto: This revision was merged to the branch mainline in revision 6427.
  • Revision ID: martin.packman@canonical.com-20120105103758-wzftnmsip5iv9n2g
Revert addition of get_message_encoding function

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