git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a792ffc
)
Resilience against exceptions thrown from bwmon.py.
author
David E. Eisenstat
<deisenst@cs.princeton.edu>
Thu, 26 Apr 2007 19:04:26 +0000
(19:04 +0000)
committer
David E. Eisenstat
<deisenst@cs.princeton.edu>
Thu, 26 Apr 2007 19:04:26 +0000
(19:04 +0000)
database.py
patch
|
blob
|
history
diff --git
a/database.py
b/database.py
index
878a7ba
..
7b95ed2
100644
(file)
--- a/
database.py
+++ b/
database.py
@@
-103,7
+103,8
@@
class Database(dict):
for name, rec in self.iteritems():
if rec['instantiation'] == 'plc-instantiated': accounts.get(name).ensure_created(rec)
- bwmon.GetSlivers(self)
+ try: bwmon.GetSlivers(self)
+ except: logger.log_exc()
# request a database dump
global dump_requested