Commit 380362cd authored by Eric Cano's avatar Eric Cano
Browse files

Switched to !IsOK() for Xroot error detection to follow common practice...

Switched to !IsOK() for Xroot error detection to follow common practice (IsError() is supposed to be equivalent). (fixed case)
parent 639ac504
......@@ -35,7 +35,7 @@ castor::exception::XrootCl::XrootCl(const XrdCl::XRootDStatus& status, const std
void castor::exception::XrootCl::throwOnError(const XrdCl::XRootDStatus& status, std::string context)
{
if (!status.IsOk()) {
if (!status.IsOK()) {
throw XrootCl(status, context);
}
}
Supports Markdown
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