mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-11 18:00:34 +00:00
Improve error messages
This commit is contained in:
parent
d6fd2c244f
commit
89efa10236
@ -20,10 +20,6 @@ SignalSource.freq=1575420000
|
||||
SignalSource.switch_position=2
|
||||
SignalSource.gain_mode_rx1=slow_attack
|
||||
|
||||
;######### SIGNAL_CONDITIONER CONFIG ############
|
||||
SignalConditioner.implementation=Pass_Through
|
||||
SignalConditioner.enable_FPGA=true
|
||||
|
||||
;######### CHANNELS GLOBAL CONFIG ############
|
||||
Channels.in_acquisition=1
|
||||
Channels_1C.count=12
|
||||
|
@ -1265,7 +1265,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetBlock(
|
||||
else
|
||||
{
|
||||
// Consider making this a fatal error, terminating the program. Unfortunately, existing unit tests expect otherwise
|
||||
LOG(ERROR) << role << "." << implementation << ": Undefined implementation for block";
|
||||
LOG(ERROR) << role << ".implementation=" << implementation << " is an undefined implementation.";
|
||||
}
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
@ -1464,7 +1464,7 @@ std::unique_ptr<AcquisitionInterface> GNSSBlockFactory::GetAcqBlock(
|
||||
|
||||
else
|
||||
{
|
||||
LOG(ERROR) << role << " block: Undefined implementation " << implementation;
|
||||
LOG(ERROR) << role << " block: Undefined implementation" << (implementation == "Wrong"s ? "" : " "s + implementation);
|
||||
}
|
||||
return block;
|
||||
}
|
||||
@ -1618,7 +1618,7 @@ std::unique_ptr<TrackingInterface> GNSSBlockFactory::GetTrkBlock(
|
||||
#endif
|
||||
else
|
||||
{
|
||||
LOG(ERROR) << role << " block: Undefined implementation " << implementation;
|
||||
LOG(ERROR) << role << " block: Undefined implementation" << (implementation == "Wrong"s ? "" : " "s + implementation);
|
||||
}
|
||||
return block;
|
||||
}
|
||||
@ -1709,7 +1709,7 @@ std::unique_ptr<TelemetryDecoderInterface> GNSSBlockFactory::GetTlmBlock(
|
||||
|
||||
else
|
||||
{
|
||||
LOG(ERROR) << role << " block: Undefined implementation " << implementation;
|
||||
LOG(ERROR) << role << " block: Undefined implementation" << (implementation == "Wrong"s ? "" : " "s + implementation);
|
||||
}
|
||||
|
||||
return block;
|
||||
|
Loading…
Reference in New Issue
Block a user