From ca9b99fb472a8574d6f92285a852863afd9ebf8f Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 25 Feb 2022 15:00:11 +0000 Subject: [PATCH] gnb,config: Changed logging for setting not found exception, to make it clearer which setting was not found --- srsenb/src/parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/parser.cc b/srsenb/src/parser.cc index ab593c564..d72dd3043 100644 --- a/srsenb/src/parser.cc +++ b/srsenb/src/parser.cc @@ -109,7 +109,7 @@ int parser::section::parse(Setting& root) *enabled_value = false; return 0; } else { - std::cerr << "Error section " << name.c_str() << " not found." << std::endl; + std::cerr << "Error in section " << name.c_str() << ". " << ex.getPath() << " not found." << std::endl; return -1; } }