Fix the error message
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Change-Id: I8af7e7cd3794dc6093d3e2dc1016bcd135f5819a
diff --git a/network_manager.cpp b/network_manager.cpp
index 637092b..a718808 100644
--- a/network_manager.cpp
+++ b/network_manager.cpp
@@ -244,8 +244,8 @@
}
catch (const sdbusplus::exception::SdBusError& ex)
{
- log<level::ERR>("Failed to restart nslcd service",
- entry("ERR=%s", ex.what()));
+ log<level::ERR>("Failed to restart service", entry("ERR=%s", ex.what()),
+ entry("UNIT=%s", unit.c_str()));
elog<InternalFailure>();
}
}