Commit 5d18e619 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor tweak to error message.

parent 7f8298b4
......@@ -627,7 +627,9 @@ my $SERVER_NAME = (exists($ENV{"SERVER_NAME"}) ? $ENV{"SERVER_NAME"} : "");
# Make sure slice is unique. Probably retry here at some point.
if (GeniSlice->Lookup($slice_hrn) || GeniSlice->Lookup($slice_urn)) {
fatal("Could not form a unique slice name");
fatal(defined($slice_id) ?
"Slice name already in use, please use another" :
"Could not form a unique slice name");
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