[ARVADOS] updated: 4bb024ae6903552c29613c851312f934dc6174b9
Git user
git at public.curoverse.com
Tue Apr 4 14:03:49 EDT 2017
Summary of changes:
services/nodemanager/arvnodeman/daemon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 4bb024ae6903552c29613c851312f934dc6174b9 (commit)
from a03ce4056e503710caa1e95d315b92fb74c96abf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 4bb024ae6903552c29613c851312f934dc6174b9
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Apr 4 14:03:08 2017 -0400
11413: Use getattr() in exception handler.
diff --git a/services/nodemanager/arvnodeman/daemon.py b/services/nodemanager/arvnodeman/daemon.py
index 2287724..9441546 100644
--- a/services/nodemanager/arvnodeman/daemon.py
+++ b/services/nodemanager/arvnodeman/daemon.py
@@ -336,7 +336,7 @@ class NodeManagerDaemonActor(actor_class):
elif (nodes_wanted < 0) and self.booting:
self._later.stop_booting_node(size)
except Exception as e:
- self._logger.exception("while calculating nodes wanted for size %s", size.id)
+ self._logger.exception("while calculating nodes wanted for size %s", getattr(size, "id", "(id not available)"))
def _check_poll_freshness(orig_func):
"""Decorator to inhibit a method when poll information is stale.
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list