def run(self): try: dbbuilder.build() self.emit(SIGNAL("buildsuccess()")) except Exception, e: log.exception("Suppressed exception in database build process") self.emit(SIGNAL("buildfailure(PyQt_PyObject)"), sys.exc_info())
def run(self): # NB: do not use suppressexceptions because throwing an exception at this point # can cause segfaults in PyQt4 -- we better suppress the exception for developers too! try: dbbuilder.build() self.emit(SIGNAL("buildsuccess()")) except: log.exception("Suppressed exception in database build process") self.emit(SIGNAL("buildfailure(PyQt_PyObject)"), sys.exc_info())
def run(self): try: dbbuilder.build() self.emit(SIGNAL("buildsuccess()")) except Exception, e: log.exception( "Suppressed exception in database build process") self.emit(SIGNAL("buildfailure(PyQt_PyObject)"), sys.exc_info())
def run(self): # NB: do not use suppressexceptions because throwing an exception at this point # can cause segfaults in PyQt4 -- we better suppress the exception for developers too! try: dbbuilder.build() self.emit(SIGNAL("buildsuccess()")) except: log.exception( "Suppressed exception in database build process") self.emit(SIGNAL("buildfailure(PyQt_PyObject)"), sys.exc_info())