Commit 6df8676b authored by Leigh Stoller's avatar Leigh Stoller

Tweak error message.

parent 7fb8863c
......@@ -580,7 +580,10 @@ sub DoConsole()
fatal("RPC Error calling ConsoleURL");
}
if ($response->code() != GENIRESPONSE_SUCCESS) {
fatal("Could not get console info: " . $response->output());
if ($response->value()) {
fatal($response->output());
}
fatal("Server returned error: " . $response->code);
}
}
my $url;
......
Markdown is supported
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