Don't commit the error during getting of DHCP value
When network manager comes up, it parses the file to
get the dhcp value from the config file,if DHCP key is
not there then don't commit the error.
Resolves openbmc/openbmc#2011
Change-Id: Ic86454a3502096cae2edbb9afe917f5567aa84a6
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/network_manager.cpp b/network_manager.cpp
index e9a62ed..013a61b 100644
--- a/network_manager.cpp
+++ b/network_manager.cpp
@@ -267,7 +267,7 @@
}
catch (InternalFailure& e)
{
- commit<InternalFailure>();
+ log<level::INFO>("Exception occured during getting of DHCP value");
}
return dhcp;
}