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/ipmid-new.cpp b/ipmid-new.cpp index be809cf..7f558cd 100644 --- a/ipmid-new.cpp +++ b/ipmid-new.cpp
@@ -598,7 +598,7 @@ { addr = dlopen(name.c_str(), RTLD_NOW); } - catch (std::exception& e) + catch (const std::exception& e) { log<level::ERR>("ERROR opening IPMI provider", entry("PROVIDER=%s", name.c_str()),