1
0
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:
Carles Fernandez
2019-07-30 20:03:02 +02:00
parent 5e5c68c2f9
commit d83083a655

View File

@@ -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;
} }