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: I48d2dfbed5d63be184aa573ad2e12c653992baa6
diff --git a/certs_manager.cpp b/certs_manager.cpp
index 9eb3c9f..6527612 100644
--- a/certs_manager.cpp
+++ b/certs_manager.cpp
@@ -799,7 +799,7 @@
method.append(unit, "replace");
bus.call_noreply(method);
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
log<level::ERR>("Failed to reload or restart service",
entry("ERR=%s", e.what()),