Commit 7e0c9862 authored by Leigh B Stoller's avatar Leigh B Stoller

Add better error message for generic "not able to map" errors.

parent d9084e9b
...@@ -141,6 +141,11 @@ function Do_GetInstanceStatus() ...@@ -141,6 +141,11 @@ function Do_GetInstanceStatus()
$blob["reason"] = "Not enough available bandwidth for a link.\n\n"; $blob["reason"] = "Not enough available bandwidth for a link.\n\n";
$blob["reason"] .= htmlentities($webtask->TaskValue("output")); $blob["reason"] .= htmlentities($webtask->TaskValue("output"));
} }
elseif ($webtask->exitcode() == 28) {
$blob["reason"] = "Your topology could not be mapped to physical ".
"resource.\n\n";
$blob["reason"] .= htmlentities($webtask->TaskValue("output"));
}
else { else {
$blob["reason"] = htmlentities($webtask->TaskValue("output")); $blob["reason"] = htmlentities($webtask->TaskValue("output"));
} }
......
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