Merge pull request #110 from coreos-inc/etcdex
Log the etcd exception so we can debug this issue
This commit is contained in:
commit
a99f29eee4
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ class EphemeralBuilderManager(BaseManager):
|
|||
yield From(self._etcd_client.write(job_key, json.dumps(payload), prevExist=False, ttl=ttl))
|
||||
except (KeyError, etcd.EtcdKeyError):
|
||||
# The job was already taken by someone else, we are probably a retry
|
||||
logger.error('Job already exists in etcd, are timeouts misconfigured or is the queue broken?')
|
||||
logger.exception('Job already exists in etcd, are timeouts misconfigured or is the queue broken?')
|
||||
raise Return(False)
|
||||
except etcd.EtcdException:
|
||||
logger.exception('Exception when writing job %s to etcd', build_uuid)
|
||||
|
|
Reference in a new issue