Handle D-Bus exceptions

Remove the usage of is_method_error()[1].

[1]https://github.com/openbmc/sdbusplus/blob/master/include/sdbusplus/bus.hpp#L287-L291

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I3aa1ed3131f6b4ed6f2f2510c4f73dbf2c637d22
diff --git a/utils.cpp b/utils.cpp
index a067663..0b983b4 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -30,15 +30,6 @@
     mapper.append(path, InterfaceList({interface}));
 
     auto mapperResponseMsg = bus.call(mapper);
-    if (mapperResponseMsg.is_method_error())
-    {
-        log<level::ERR>("ERROR in getting service",
-                        entry("PATH=%s", path.c_str()),
-                        entry("INTERFACE=%s", interface.c_str()));
-
-        elog<InternalFailure>();
-    }
-
     mapperResponseMsg.read(mapperResponse);
     if (mapperResponse.empty())
     {