Skip to content
Snippets Groups Projects
Commit d0a7d344 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed full stack traced being returned as error to EOS.

This multiline string did not go well stored as an extended attribute in EOS.
parent 249d74e2
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ void RequestProc<cta::xrd::Request, cta::xrd::Response, cta::xrd::Alert>::Execut
cta_service_ptr->getLogContext().log(cta::log::ERR, ErrorFunction + "RSP_ERR_USER: " + ex.getMessageValue());
} catch(cta::exception::Exception &ex) {
m_metadata.set_type(cta::xrd::Response::RSP_ERR_CTA);
m_metadata.set_message_txt(ex.what());
m_metadata.set_message_txt(ex.getMessageValue());
cta_service_ptr->getLogContext().log(cta::log::ERR, ErrorFunction + "RSP_ERR_CTA: " + ex.what());
} catch(std::runtime_error &ex) {
m_metadata.set_type(cta::xrd::Response::RSP_ERR_CTA);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment