commit | d78de14df5a9ee6babb7f4ef75a1c4b58bf6376c | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Aug 23 16:16:32 2021 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 15 13:41:35 2021 +0000 |
tree | c0b2d98239870a3c58b74728d8e9c4d576622f98 | |
parent | ec07b9f82bdcbec5e78602f0eb4ab13da26c4b48 [diff] |
Handle D-Bus exceptions Remove the usage of is_method_error()[1]. Also, add try-catch to handle D-Bus exceptions around mapper call. [1]https://github.com/openbmc/sdbusplus/blob/master/include/sdbusplus/bus.hpp#L282-L286 Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id2b5234009e62e6c003f24a25c726317646b582b