Ejemplo n.º 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)
Ejemplo n.º 2
0
 def on_unexpected_error(error):
     util.u_print(u"An unexpected error occurred:\n %s" % error)
     return util.defer(500, on_finished_)
Ejemplo n.º 3
0
 def on_unexpected_error(error):
     util.u_print(u"An unexpected error occurred:\n %s" % error)
     return util.defer(500, on_finished_)