summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libipmid/utils.cpp5
-rw-r--r--transporthandler.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/libipmid/utils.cpp b/libipmid/utils.cpp
index 4fd219e..3ff79ed 100644
--- a/libipmid/utils.cpp
+++ b/libipmid/utils.cpp
@@ -358,9 +358,10 @@ void deleteAllDbusObjects(sdbusplus::bus::bus& bus,
"Delete");
}
}
- catch (InternalFailure& e)
+ catch (sdbusplus::exception::exception& e)
{
- log<level::INFO>("Unable to delete the objects having",
+ log<level::INFO>("sdbusplus exception - Unable to delete the objects",
+ entry("ERROR=%s", e.what()),
entry("INTERFACE=%s", interface.c_str()),
entry("SERVICE=%s", serviceRoot.c_str()));
}
diff --git a/transporthandler.cpp b/transporthandler.cpp
index 1662530..ba0772b 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -945,7 +945,7 @@ void applyChanges(int channel)
}
}
}
- catch (InternalFailure& e)
+ catch (sdbusplus::exception::exception& e)
{
log<level::ERR>(
"Failed to set network data", entry("PREFIX=%d", prefix),
OpenPOWER on IntegriCloud