Skip to content
Snippets Groups Projects
Commit 7b7bac5e authored by Steven Murray's avatar Steven Murray
Browse files

Fixed bug in XrdCtaFilesystem::FSctl() that was causing all requests to be replied with an error

parent eeb1eae6
Branches
Tags
No related merge requests found
......@@ -107,6 +107,7 @@ int XrdCtaFilesystem::FSctl(const int cmd, XrdSfsFSctl &args, XrdOucErrInfo &eIn
auto reply = processWrapperMsg(msg, client);
const int replySize = reply->BuffSize();
eInfo.setErrInfo(replySize, reply.release());
return SFS_DATA;
} catch(cta::exception::Exception &ex) {
errMsg << __FUNCTION__ << " failed: " << ex.getMessage().str();
} catch(std::exception &se) {
......@@ -115,6 +116,7 @@ int XrdCtaFilesystem::FSctl(const int cmd, XrdSfsFSctl &args, XrdOucErrInfo &eIn
errMsg << __FUNCTION__ << " failed: Caught an unknown exception";
}
// Reaching this point means an exception was thrown and errMsg has been set
try {
eos::wfe::Wrapper wrapper;
wrapper.set_type(eos::wfe::Wrapper::ERROR);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment