summaryrefslogtreecommitdiffstats
path: root/src/sdbusplus.hpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-07-09 22:34:33 -0400
committerAdriana Kobylak <anoo@us.ibm.com>2018-07-11 12:28:48 -0500
commitcca7a7c8733a22f12d89dc0fd2d355f4fb9b4bb4 (patch)
tree1a4b3919d821160e5f5c0d31b1bbe738bc36f112 /src/sdbusplus.hpp
parent6522cdcb109b02377d8a45bafa5524599014d406 (diff)
downloadphosphor-dbus-monitor-cca7a7c8733a22f12d89dc0fd2d355f4fb9b4bb4.tar.gz
phosphor-dbus-monitor-cca7a7c8733a22f12d89dc0fd2d355f4fb9b4bb4.zip
propertywatch: Improve error handling
Handle exceptions from the sdbusplus method call API. A number of method calls are made at application startup. First the mapper is queried and then host services directly to obtain initial values for the property cache. In either case a missing object is sometimes expected and tolerated (in a logical sense) without issue. Eat the new exceptions in these scenarios and avoid a program crash. Change-Id: Id79d28b2da997f3c545b86c21932e271e3df8bb3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/sdbusplus.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud