예제 #1
0
 def on_unexpected_error(error):
     # TODO this should be handled much differently
     # TODO emit crash signal to show message box with traceback?
     self.is_running = False
     self.was_stopped.emit()
     util.u_print(u"An unexpected error occurred:\n %s" % error)
     return util.defer(500, on_finished)
예제 #2
0
 def on_unexpected_error(error):
     util.u_print(u"An unexpected error occurred:\n %s" % error)
     return util.defer(500, on_finished_)
예제 #3
0
 def on_unexpected_error(error):
     util.u_print(u"An unexpected error occurred:\n %s" % error)
     return util.defer(500, on_finished_)