1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-25 06:23:18 +00:00

Catch all exceptions

This commit is contained in:
Carles Fernandez 2018-02-03 11:15:35 +01:00
parent 040745eeb1
commit e7784a7cbe

View File

@ -348,6 +348,10 @@ int main(int argc, char** argv)
{
std::cout << "Exception caught while capturing samples (too few args)" << std::endl;
}
catch(...)
{
std::cout << "Unexpected exception" << std::endl;
}
// 4. Setup GNU Radio flowgraph (file_source -> Acquisition_10m)
gr::top_block_sptr top_block;