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/transporthandler.cpp b/transporthandler.cpp
index f674865..59096f9 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -318,7 +318,7 @@
ipmi::DELETE_INTERFACE, "Delete");
bus.call_noreply(req);
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
if (strcmp(e.name(),
"xyz.openbmc_project.Common.Error.InternalFailure") != 0 &&