remove is_method_error call

An `is_method_error` is not appropriate after an sdbus `call` since
`call` will always throw an exception.  Remove the pointless call
and instead catch the exception.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6ece20bca5a99da3b7a6f3b6aa55b22842f3b422
3 files changed
tree: 820b85ef8412465474dd5412af2073724285146c
  1. docs/
  2. gen/
  3. src/
  4. subprojects/
  5. test/
  6. yaml/
  7. .clang-format
  8. .clang-tidy
  9. .gitignore
  10. .shellcheck
  11. 60-phosphor-networkd-default.network.in
  12. LICENSE
  13. meson.build
  14. meson.options
  15. OWNERS
  16. README.md
  17. xyz.openbmc_project.Network.conf.in
  18. xyz.openbmc_project.Network.service.in
README.md

phosphor-networkd

To Build

To build this package, do the following steps:

1. meson build
2. ninja -C build