Skip to content
Snippets Groups Projects
Commit 24845e77 authored by Michael Davis's avatar Michael Davis
Browse files

[cta-frontend] Adds ExceptionHandler errors to XRootD log

parent 118d2cb2
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,8 @@ void ExceptionHandler<cta::xrd::Response, PbException>::operator()(cta::xrd::Res
response.set_type(cta::xrd::Response::RSP_ERR_PROTOBUF);
response.set_message_txt(ex.what());
// Log the error in the CTA log
//m_lc.log(cta::log::ERROR, "In ExceptionHandler(): RSP_ERR_PROTOBUF: " + ex.what());
// Also log the error in the XRootD log
XrdSsiPb::Log::Msg(XrdSsiPb::Log::ERROR, "ExceptionHandler", ex.what());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment