Skip to content
Snippets Groups Projects
Commit 457292b3 authored by Cedric CAFFY's avatar Cedric CAFFY
Browse files

The frontend will log an error message in the cta-frontend.log file if the...

The frontend will log an error message in the cta-frontend.log file if the catalogue MAJOR schema version number mismatch and rethrow the exception to the XrdSsiCtaServiceProvider
parent e9cad94a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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