121
124
# This import is apparently not used, but we're doing it so that if the
122
125
# import fails, the exception will be caught at a higher level and we'll
123
126
# report the error by other means.
126
129
crash_filename = _write_apport_report_to_file(exc_info)
128
131
if crash_filename is None:
133
136
trace.print_exception(exc_info, stderr)
139
142
# XXX: on Windows, Mac, and other platforms where we might have the
140
143
# apport libraries but not have an apport always running, we could