Merge "Catch gear.InterruptedError" into feature/zuulv3
This commit is contained in:
commit
91c2fd1efd
|
@ -100,6 +100,8 @@ class MergeServer(object):
|
|||
except Exception:
|
||||
self.log.exception("Exception while running job")
|
||||
job.sendWorkException(traceback.format_exc())
|
||||
except gear.InterruptedError:
|
||||
return
|
||||
except Exception:
|
||||
self.log.exception("Exception while getting job")
|
||||
|
||||
|
|
|
@ -81,6 +81,8 @@ class RPCListener(object):
|
|||
job.sendWorkFail()
|
||||
else:
|
||||
job.sendWorkFail()
|
||||
except gear.InterruptedError:
|
||||
return
|
||||
except Exception:
|
||||
self.log.exception("Exception while getting job")
|
||||
|
||||
|
|
Loading…
Reference in New Issue