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: I086be1ec495f58a68ae087441dee3d65cbc630ac
diff --git a/common_utility.cpp b/common_utility.cpp
index 5a12b6c..aeb7c1b 100644
--- a/common_utility.cpp
+++ b/common_utility.cpp
@@ -30,7 +30,7 @@
auto reply = bus.call(mapper);
reply.read(response);
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
log<level::ERR>("D-Bus call exception",
entry("OBJPATH=%s", mapperObjectPath),