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/ipmi_fru_info_area.cpp b/ipmi_fru_info_area.cpp index ca06f5b..155e88b 100644 --- a/ipmi_fru_info_area.cpp +++ b/ipmi_fru_info_area.cpp
@@ -141,7 +141,7 @@ { chassisType = std::stoi(value); } - catch (std::exception& e) + catch (const std::exception& e) { log<level::ERR>("Could not parse chassis type", entry("VALUE=%s", value.c_str()),