~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-03 04:57:59 UTC
  • mfrom: (6042.1.2 fix-log-2)
  • Revision ID: pqm@pqm.ubuntu.com-20110803045759-1lrr8eymve8ofldr
(mbp) Log levels are no longer reset to what the log formatter supports (bug
 747958) (Thomi Richards)

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
73
74
    except Exception, e:
74
75
        # this should only happen if apport is installed but it didn't
75
76
        # work, eg because of an io error writing the crash file
76
 
        trace.mutter("bzr: failed to report crash using apport: %r" % e)
77
 
        trace.log_exception_quietly()
 
77
        stderr.write("bzr: failed to report crash using apport:\n "
 
78
            "    %r\n" % e)
 
79
        pass
78
80
    return report_bug_legacy(exc_info, stderr)
79
81
 
80
82