commit | a2ad2da85fe34a7e1c95d52ec55032bbc71fa0f0 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:21:46 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:21:46 2021 -0500 |
tree | a8673ec1257ac3d64f748030dcc29a6d93392efe | |
parent | 414d2f7be5fd0eb6c1d451abb62bc5460d8a9e40 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic2b49715c7b81ac5bcfc12ff2d3b4c593cd95ce7
diff --git a/globalhandler.cpp b/globalhandler.cpp index c192cbb..2561e08 100644 --- a/globalhandler.cpp +++ b/globalhandler.cpp
@@ -42,7 +42,7 @@ { resetBMC(); } - catch (std::exception& e) + catch (const std::exception& e) { log<level::ERR>(e.what()); return ipmi::responseUnspecifiedError();