catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia9932efb6a9335e80b3f2376d2d62e1b65866f44
diff --git a/src/bmccontrolservices.cpp b/src/bmccontrolservices.cpp
index 0d2e7a0..a08a270 100644
--- a/src/bmccontrolservices.cpp
+++ b/src/bmccontrolservices.cpp
@@ -157,7 +157,7 @@
}
}
}
- catch (sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception::exception& e)
{
return ipmi::responseUnspecifiedError();
}
@@ -190,7 +190,7 @@
}
}
}
- catch (sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception::exception& e)
{
return ipmi::responseUnspecifiedError();
}