commit | 151122aa2e0b8b233fad51dc0f53d64cd7f59e1b | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue May 15 12:00:32 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Tue May 15 13:32:27 2018 -0700 |
tree | 64df98a563a50729bf482af7c679844d8798dd21 | |
parent | f3c0341bae0b0ccb728ea2842465f3fb8d4bdca4 [diff] |
Add error handling to message parsing Some of the messages we try and parse are not structured in the format we expect when parsing. When error logging is enabled in sdbusplus this causes the phosphor-fru-fault-manager to crash. Fix this crashing by logging errors and ignoring the bad signals and message responses. Change-Id: Ie817beaae96961b33a343aabf1dbba9f31606d4b Signed-off-by: William A. Kennington III <wak@google.com>