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
1 file changed