예제 #1
0
 def run(self):
   tid = gs.begin(self.domain, self.msg, self.set_status)
   try:
     self.f()
   except Exception:
     gs.notice(self.domain, gs.traceback())
   finally:
     gs.end(tid)
예제 #2
0
 def run(self):
     tid = gs.begin(self.domain, self.msg, self.set_status)
     try:
         self.f()
     except Exception:
         gs.notice(self.domain, gs.traceback())
     finally:
         gs.end(tid)
예제 #3
0
  def run(self):
    while True:
      try:
        f, msg, set_status = self.q.get()
        tid = gs.begin(self.domain, msg, set_status)

        try:
          f()
        except Exception:
          gs.notice(self.domain, gs.traceback())
      except:
        pass

      gs.end(tid)
예제 #4
0
    def run(self):
        while True:
            try:
                f, msg, set_status = self.q.get()
                tid = gs.begin(self.domain, msg, set_status)

                try:
                    f()
                except Exception:
                    gs.notice(self.domain, gs.traceback())
            except:
                pass

            gs.end(tid)
예제 #5
0
 def run(self):
   try:
     self.f()
   except Exception:
     gs.notice(self.domain, gs.traceback())
예제 #6
0
 def run(self):
     try:
         self.f()
     except Exception:
         gs.notice(self.domain, gs.traceback())