Commit 879ca429 authored by Leigh B Stoller's avatar Leigh B Stoller

Return a better error to the user when the GPO Portal is offline, and

we cannot get their project list, which causes create_instance to fail.
parent 951477e8
...@@ -496,7 +496,9 @@ if ($localuser) { ...@@ -496,7 +496,9 @@ if ($localuser) {
# #
system("$UPDATEGENIUSER -p " . $emulab_user->uid()); system("$UPDATEGENIUSER -p " . $emulab_user->uid());
if ($?) { if ($?) {
fatal("Not a member of any projects"); UserError("Could not get your project membership from your ".
"member authority. It is probably offline, please try ".
"again later.");
} }
# Nonlocal users get the holding project. # Nonlocal users get the holding project.
......
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