mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	Catch all exceptions
This commit is contained in:
		| @@ -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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez