diff --git a/xroot_plugins/XrdSsiCtaServiceProvider.cpp b/xroot_plugins/XrdSsiCtaServiceProvider.cpp index bb2f58de6aa451e48212e2ef1d654a6d2606a997..b32aa5ed0b8b92de58b5822e6d00c6d7fe270b1a 100644 --- a/xroot_plugins/XrdSsiCtaServiceProvider.cpp +++ b/xroot_plugins/XrdSsiCtaServiceProvider.cpp @@ -123,7 +123,13 @@ void XrdSsiCtaServiceProvider::ExceptionThrowingInit(XrdSsiLogger *logP, XrdSsiC auto catalogueFactory = catalogue::CatalogueFactoryFactory::create(*m_log, catalogueLogin, catalogue_numberofconnections.second, nbArchiveFileListingConns); m_catalogue = catalogueFactory->create(); - m_catalogue->ping(); + try{ + m_catalogue->ping(); + } catch(cta::exception::Exception& ex){ + log::LogContext lc(*m_log); + lc.log(cta::log::ERR,ex.getMessageValue()); + throw ex; + } } // Initialise the Backend