Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f92f6bc0
Commit
f92f6bc0
authored
Jul 07, 2008
by
David Johnson
Browse files
Catch unexpected exceptions in the renew path.
parent
02309e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/plab/libplab.py.in
View file @
f92f6bc0
...
...
@@ -2582,6 +2582,11 @@ class Slice:
print
"Node %s doesn't really exist in %s (%s)"
%
\
(
nodeid
,
self
.
slicename
,
self
.
plc
.
name
)
continue
except
:
print
"Unknown error loading node %s from slice %s (%s)"
%
\
(
nodeid
,
self
.
slicename
,
self
.
plc
.
name
)
traceback
.
print_exc
()
continue
if
node
.
renew
():
print
"Failed to renew node: %s (expires %s UTC)"
%
\
(
nodeid
,
time
.
asctime
(
time
.
gmtime
(
node
.
leaseend
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment