exception: switch to public sdbus exception
SdBusError was intended to be a private error type inside sdbusplus.
Switch all catch locations to use the general sdbusplus::exception type.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I16eeca31de290221c7a9184ee0c48cc923466832
diff --git a/ipmi/dbus_mode.cpp b/ipmi/dbus_mode.cpp
index 7ea7fd4..b9cdb67 100644
--- a/ipmi/dbus_mode.cpp
+++ b/ipmi/dbus_mode.cpp
@@ -68,7 +68,7 @@
*value = std::get<bool>(propMap[property]);
}
- catch (const sdbusplus::exception::SdBusError& ex)
+ catch (const sdbusplus::exception::exception& ex)
{
return IPMI_CC_INVALID;
}
@@ -95,7 +95,7 @@
{
PropertyWriteBus.call_noreply(pimMsg);
}
- catch (const sdbusplus::exception::SdBusError& ex)
+ catch (const sdbusplus::exception::exception& ex)
{
return IPMI_CC_INVALID;
}