util getservice api updates
Updated log messages to print input service and interface
details instead of predefined local information.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: If5cd2f99ac0ebeed7b4de12ef0f94e55aabaebe7
diff --git a/util.cpp b/util.cpp
index ed4eed9..9a43a50 100644
--- a/util.cpp
+++ b/util.cpp
@@ -31,7 +31,7 @@
{
log<level::ERR>(fmt::format("D-Bus call exception OBJPATH={}"
"INTERFACE={} EXCEPTION={}",
- mapperObjectPath, mapperInterface, e.what())
+ objectPath, interface, e.what())
.c_str());
throw std::runtime_error("Service name is not found");