Esempio n. 1
0
 def eb(f):
     print 'ERROR: ', log.getFailureMessage(f)
     reactor.stop()
Esempio n. 2
0
 def eb(failure):
     self.warning("Failed to query view %r: %r", viewName, log.getFailureMessage(failure))
     sys.stderr.write(failure.getTraceback())
     return failure
Esempio n. 3
0
 def eb(failure):
     log.warning('load', 'Failed to query view: %r',
         log.getFailureMessage(failure))
     return failure
Esempio n. 4
0
 def eb(failure, file):
     log.warningFailure(failure)
     self.warning("failure %r on file %r" % (log.getFailureMessage(failure), file))
     return failure