Home
last modified time | relevance | path

Searched hist:c79fa915 (Results 1 – 1 of 1) sorted by relevance

/openbmc/openpower-pnor-code-mgmt/
H A Dfunctions.cppc79fa915 Tue Jun 22 10:37:50 CDT 2021 Adriana Kobylak <anoo@us.ibm.com> functions: Catch sdbusplus exception

On systems that do not have Entity Manager implemented such as Tacoma,
the 'openpower-update-manager process-host-firmware' call core dumps
with:
obmc-flash-bios[407]: terminate called after throwing an instance of 'sdbusplus::exception::SdBusError'
obmc-flash-bios[407]: what(): sd_bus_call: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

Catch the exception and return the match to allow the interfaces added
signal run the callback if/when the entity manager interfaces appear.

Tested: App does not core dump anymore on tacoma.

Change-Id: Ie90b214c7bdd109dbc970a8de580988738809d16
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>