return failed insteead of exiting

This commit is contained in:
Robin Müller 2020-05-05 20:09:42 +02:00
parent f09836a9eb
commit cc0469fef6

View File

@ -90,6 +90,7 @@ uint32_t FixedSlotSequence::getLengthMs() const {
ReturnValue_t FixedSlotSequence::checkSequence() const {
if(slotList.empty()) {
sif::error << "Fixed Slot Sequence: Slot list is empty!" << std::endl;
return HasReturnvaluesIF::RETURN_FAILED;
}
// Iterate through slotList and check successful creation.
// Checks if timing is ok (must be ascending) and if all handlers were found.