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: I3b5d83511afdf17b2911502279087e57a59b9945
diff --git a/read_fru_data.cpp b/read_fru_data.cpp
index 740a140..908e54e 100644
--- a/read_fru_data.cpp
+++ b/read_fru_data.cpp
@@ -68,7 +68,7 @@
auto reply = bus.call(method);
reply.read(properties);
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
// If property is not found simply return empty value
log<level::ERR>("Error in reading property values",