mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-30 19:04:51 +00:00
Catch all exceptions
This commit is contained in:
parent
040745eeb1
commit
e7784a7cbe
@ -348,6 +348,10 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
std::cout << "Exception caught while capturing samples (too few args)" << std::endl;
|
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)
|
// 4. Setup GNU Radio flowgraph (file_source -> Acquisition_10m)
|
||||||
gr::top_block_sptr top_block;
|
gr::top_block_sptr top_block;
|
||||||
|
Loading…
Reference in New Issue
Block a user