From f82831bff6bdcd7626a516f122e36cc0d2a4fe1b Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 9 Jun 2015 20:33:55 -0400 Subject: [PATCH] Log the etcd exception so we can debug this issue --- buildman/manager/ephemeral.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildman/manager/ephemeral.py b/buildman/manager/ephemeral.py index 7e24094c8..ed6b5229a 100644 --- a/buildman/manager/ephemeral.py +++ b/buildman/manager/ephemeral.py @@ -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)