Commit 91fe1e1e authored by Gary Wong's avatar Gary Wong
Browse files

Use XMLError() instead of die() when authority doesn't exist.

parent eb6dbaa1
......@@ -317,8 +317,8 @@ if( $PROJECT ) {
my $authority = GeniAuthority->Lookup( $name );
if (!defined($authority)) {
die("*** $0:\n".
" Could not resolve requested authority\n");
XMLError( XMLRPC_APPLICATION_ERROR(),
"Could not resolve requested authority" );
}
$ENV{'MYUUID'} = $authority->uuid();
$ENV{'MYURN'} = $authority->urn();
......
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