summaryrefslogtreecommitdiffstats
path: root/storagehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storagehandler.cpp')
-rw-r--r--storagehandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storagehandler.cpp b/storagehandler.cpp
index 96d3d54..437f858 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -520,7 +520,7 @@ ipmi::RspType<uint32_t> // current time
log<level::ERR>(e.what());
return ipmi::responseUnspecifiedError();
}
- catch (const std::runtime_error& e)
+ catch (const std::exception& e)
{
log<level::ERR>(e.what());
return ipmi::responseUnspecifiedError();
@@ -572,7 +572,7 @@ ipmi::RspType<> ipmiStorageSetSelTime(uint32_t selDeviceTime)
log<level::ERR>(e.what());
return ipmi::responseUnspecifiedError();
}
- catch (const std::runtime_error& e)
+ catch (const std::exception& e)
{
log<level::ERR>(e.what());
return ipmi::responseUnspecifiedError();
OpenPOWER on IntegriCloud