Commit 8fe972cf authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Handle GENIRESPONSE_SEARCHFAILED from consoleurl() more gracefully.

parent 57bfcf20
......@@ -948,6 +948,14 @@ sub DoConsole()
if ($response->code() == GENIRESPONSE_SEARCHFAILED) {
print STDERR "Server says $node_id has been deallocated\n";
if (defined($webtask)) {
$webtask->output("Sorry, $node_id has been deallocated");
if ($response->code() != GENIRESPONSE_SUCCESS) {
$response = $sliver->ConsoleURL($sliver_urn);
if (!defined($response)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment