Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
91fe1e1e
Commit
91fe1e1e
authored
May 03, 2013
by
Gary Wong
Browse files
Use XMLError() instead of die() when authority doesn't exist.
parent
eb6dbaa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/xmlrpc/protogeni-wrapper.pl.in
View file @
91fe1e1e
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment