mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-07 02:33:03 +00:00
Better exception handling for File_Signal_Source
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@214 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
@@ -108,11 +108,11 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration,
|
||||
<< std::endl
|
||||
<< "or specify your own receiver and source with the flag"
|
||||
<< std::endl
|
||||
<<"gnss-sdr --config_file=my_GNSS_SDR_configuration"
|
||||
<<"gnss-sdr --config_file=my_GNSS_SDR_configuration.conf"
|
||||
<< std::endl;
|
||||
LOG_AT_LEVEL(INFO) << "file_signal_source: Unable to open the samples file "
|
||||
<< filename_.c_str() << ", exiting the program.";
|
||||
exit(1);
|
||||
throw(e);
|
||||
}
|
||||
|
||||
DLOG(INFO) << "file_source(" << file_source_->unique_id() << ")";
|
||||
|
||||
Reference in New Issue
Block a user