mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-17 18:24:10 +00:00
Fix exception catch
This commit is contained in:
@@ -619,7 +619,7 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
std::cout << "Exception caught while reading ephemeris" << std::endl;
|
std::cout << "Exception caught while reading ephemeris" << std::endl;
|
||||||
}
|
}
|
||||||
catch (int ex)
|
catch (const std::exception& ex)
|
||||||
{
|
{
|
||||||
std::cout << " " << it.first << " " << it.second - mean_f_if_Hz << " (Eph not found)" << std::endl;
|
std::cout << " " << it.first << " " << it.second - mean_f_if_Hz << " (Eph not found)" << std::endl;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user