Skip to content
Snippets Groups Projects
Commit 10972f79 authored by Oleg Kuprash's avatar Oleg Kuprash
Browse files

Merge branch '21.0_throw_fatal_trigconfRW_abort' into '21.0'

TrigConfReadWrite application to return FATAL if metadata write fails (ATR-16103)

See merge request !1608
parents 5781b12c 0c0c4e36
No related merge requests found
......@@ -678,10 +678,14 @@ int main( int argc, char* argv[] ) {
if(ctpc)
coolWriter->writeL1Payload(runNr, *ctpc);
if(hltFrame)
coolWriter->writeHLTPayload(runNr, *hltFrame, configSource);
try{
if(hltFrame)
coolWriter->writeHLTPayload(runNr, *hltFrame, configSource);
}
catch(cool::StorageTypeStringTooLong e){
log << "FATAL: Unable to write data to COOL";
exit(1);
}
if(mck)
coolWriter->writeMCKPayload(runNr, mck, release, info);
}
......
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