1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-15 19:55:47 +00:00

Catch exception when using std::experimental

This commit is contained in:
Carles Fernandez 2019-07-13 12:29:06 +02:00
parent 82047f5963
commit 2d894a8507
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -278,6 +278,12 @@ void write_results(const std::vector<volk_gnsssdr_test_results_t> *results, bool
std::cerr << "Reason: " << e.what() << std::endl;
return;
}
catch (...)
{
// Catch exception when using std::experimental
std::cerr << "ERROR: Could not create folder " << config_path.parent_path() << std::endl;
return;
}
}
std::ofstream config;