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: Ib7b6d079463ab243e3466ca7bba1cf0da9168d70
diff --git a/virtualSensor.cpp b/virtualSensor.cpp
index 9679b3f..b81201e 100644
--- a/virtualSensor.cpp
+++ b/virtualSensor.cpp
@@ -590,7 +590,7 @@
auto reply = bus.call(method);
reply.read(objects);
}
- catch (const sdbusplus::exception::SdBusError& ex)
+ catch (const sdbusplus::exception::exception& ex)
{
// If entity manager isn't running yet, keep going.
if (std::string("org.freedesktop.DBus.Error.ServiceUnknown") !=