mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
change invalid block implementation from FATAL to ERROR
I'm not sure that there is any value in continuing with a bad configuration but be careful about changing the semantics of existing code. You never know what else may depend upon it.
This commit is contained in:
parent
6e04a42c8a
commit
bba9edd68c
@ -1265,8 +1265,8 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetBlock(
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Log fatal. This causes execution to stop.
|
// Consider making this a fatal error, terminating the program. Unfortunately, existing unit tests expect otherwise
|
||||||
LOG(FATAL) << role << "." << implementation << ": Undefined implementation for block";
|
LOG(ERROR) << role << "." << implementation << ": Undefined implementation for block";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
|
Loading…
Reference in New Issue
Block a user