1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-10 23:06:03 +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

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; std::cerr << "Reason: " << e.what() << std::endl;
return; 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; std::ofstream config;