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: I8af15372ca11b8400044fc24d4880ea9fd00f3da
diff --git a/user_mgr.cpp b/user_mgr.cpp
index 1b14e8e..05aa6e7 100644
--- a/user_mgr.cpp
+++ b/user_mgr.cpp
@@ -905,7 +905,7 @@
entry("WHAT=%s", e.what()));
throw;
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
log<level::ERR>(
"Failed to excute method", entry("METHOD=%s", "GetManagedObjects"),