def twisted_error(self, failure): dialog = ErrorDialog() dialog.set_from_failure(failure) dialog.show_all() log.err(failure, 'Exception in %s' % self.__gtype_name__) return failure
def twisted_error(self, failure): # TODO: throw a message in a less invasive way from ErrorDialog import ErrorDialog dialog = ErrorDialog() dialog.set_from_failure(failure) dialog.show_all()
def error(failure): dialog = ErrorDialog(self.get_toplevel()) dialog.set_from_failure(failure) dialog.show_all()
def twisted_error(self, failure): from ErrorDialog import ErrorDialog dialog = ErrorDialog() dialog.set_from_failure(failure) dialog.show_all()
def twisted_error(self, failure): #TODO: throw a message in a less invasive way from ErrorDialog import ErrorDialog dialog = ErrorDialog() dialog.set_from_failure(failure) dialog.show_all()