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: Idda02eeec799a0d1b8eef474988e7e4c8d4dc65f
diff --git a/manager.cpp b/manager.cpp
index 4cc0b57..383d416 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -86,7 +86,7 @@
bus.call_noreply(method);
log<level::INFO>("Updated NTP setting", entry("ENABLED=%d", isNtp));
}
- catch (const sdbusplus::exception::SdBusError& ex)
+ catch (const sdbusplus::exception::exception& ex)
{
log<level::ERR>("Failed to update NTP setting",
entry("ERR=%s", ex.what()));