summaryrefslogtreecommitdiffstats
path: root/transporthandler.cpp
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2018-11-27 12:54:52 -0800
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-04-04 22:49:51 +0000
commit7a614182acb466908b9893e953e027711f8c554a (patch)
tree8cf861bc7196eab6dbee7fce2a0bab7d38f8b83e /transporthandler.cpp
parent0120b68041d58b5fb513b78eaf73dc6ae155df9a (diff)
downloadphosphor-host-ipmid-7a614182acb466908b9893e953e027711f8c554a.tar.gz
phosphor-host-ipmid-7a614182acb466908b9893e953e027711f8c554a.zip
Catch sdbusplus exceptions in IPMI net
Missing the correct exception was causing issues with setting the IPV4 address Change-Id: Ieaaacfcbaec82a0c3b110889817a7ceb9cda8d3c Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Diffstat (limited to 'transporthandler.cpp')
-rw-r--r--transporthandler.cpp2
1 files changed, 1 insertions, 1 deletions
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