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: Ia432ec5539a6af3c761dfbb86916464de5455149
diff --git a/control/fan.cpp b/control/fan.cpp
index 7f8f21f..e067205 100644
--- a/control/fan.cpp
+++ b/control/fan.cpp
@@ -66,7 +66,7 @@
_bus, sensor.second, sensor.first, _interface,
FAN_TARGET_PROPERTY, std::move(value));
}
- catch (const sdbusplus::exception::SdBusError&)
+ catch (const sdbusplus::exception::exception&)
{
throw util::DBusPropertyError{"DBus set property failed",
sensor.second, sensor.first,