diff --git a/Event/FaserByteStreamCnvSvc/src/FaserByteStreamInputSvc.cxx b/Event/FaserByteStreamCnvSvc/src/FaserByteStreamInputSvc.cxx index d24a2f65b5accb31762148887a8e0445041ecaea..e2bb49c327d674504da6f6443f5af6b46498f6a7 100644 --- a/Event/FaserByteStreamCnvSvc/src/FaserByteStreamInputSvc.cxx +++ b/Event/FaserByteStreamCnvSvc/src/FaserByteStreamInputSvc.cxx @@ -128,6 +128,11 @@ const EventFull* FaserByteStreamInputSvc::nextEvent() { // Attempt to read beyond end of file, likely truncated event ATH_MSG_WARNING("DataReader reports FaserEventStorage::ES_OutOfFileBoundary, stop reading file!"); return NULL; + } catch (const DAQFormats::EFormatException& e) { + // Format error + ATH_MSG_WARNING("DataReader reports DAQFormats::EFormatException, stop reading file!"); + ATH_MSG_WARNING(e.what()); + return NULL; } catch (...) { // rethrow any other exceptions throw;