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: I013d8a225f7a15601a5defa487d7030daad77270
diff --git a/procedures/phal/start_host.cpp b/procedures/phal/start_host.cpp
index 6e3f683..9b853d7 100644
--- a/procedures/phal/start_host.cpp
+++ b/procedures/phal/start_host.cpp
@@ -116,7 +116,7 @@
auto result = bus.call(properties);
result.read(val);
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
log<level::ERR>("Get HW Keyword read from VINI Failed");
throw std::runtime_error("Get HW Keyword read from VINI Failed");