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: I411acc5238da0ad3d14a963c0d1a3bb4791f23ff
diff --git a/json-config.hpp b/json-config.hpp
index b9bb36f..d625d49 100644
--- a/json-config.hpp
+++ b/json-config.hpp
@@ -183,7 +183,7 @@
}
confFile.clear();
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
// Property unavailable on object.
log<level::ERR>(
@@ -196,7 +196,7 @@
}
}
}
- catch (const sdbusplus::exception::SdBusError& e)
+ catch (const sdbusplus::exception::exception& e)
{
log<level::ERR>("Failed to call the SubTreePaths method",
entry("ERROR=%s", e.what()),