commit | e82b05840ba633d1f0d2e301720a5af6989c91f7 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Mon Nov 16 16:25:20 2020 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Nov 16 16:25:45 2020 -0600 |
tree | e3f6797a91ae3c493532ba10fcdfd3bb0a1ca541 | |
parent | 3735ea2ee546b2436895cf956daf0090a6d2d406 [diff] |
mapper-wait: handle switch to openbmc exceptions libmapper was searching for specific errno values (ENOENT) as an indication of the mapper API failure instead of the error message, which made it difficult to identify the need to fix up the error path. Switch from checking for ENOENT to the xyz.openbmc_project error message returned by the APIs. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I58700acd89f7f01474e2b985c8a8fec323cec112