mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	change invalid block implementation from FATAL to ERROR
I'm not sure that there is any value in continuing with a bad configuration but be careful about changing the semantics of existing code. You never know what else may depend upon it.
This commit is contained in:
		| @@ -1265,8 +1265,8 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetBlock( | |||||||
|  |  | ||||||
|             else |             else | ||||||
|                 { |                 { | ||||||
|                     // Log fatal. This causes execution to stop. |                     // Consider making this a fatal error, terminating the program. Unfortunately, existing unit tests expect otherwise | ||||||
|                     LOG(FATAL) << role << "." << implementation << ": Undefined implementation for block"; |                     LOG(ERROR) << role << "." << implementation << ": Undefined implementation for block"; | ||||||
|                 } |                 } | ||||||
|         } |         } | ||||||
|     catch (const std::exception& e) |     catch (const std::exception& e) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jim Melton
					Jim Melton