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