commit | ddb773b2c566c91abb22d8a5e3ae70394789dda5 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 11:24:49 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 11:24:49 2021 -0500 |
tree | 1cc71b72fc075952697d89d5c62eb03935bc979c | |
parent | 16861797f34947f1a8d5106861a37c5598303018 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id1b5054d3147c39d98309bc11ed7016d6909e2a6
diff --git a/json_config.hpp b/json_config.hpp index 6322e6e..60e535d 100644 --- a/json_config.hpp +++ b/json_config.hpp
@@ -283,7 +283,7 @@ // Enable ignoring `//` or `/* */` comments jsonConf = json::parse(file, nullptr, true, true); } - catch (std::exception& e) + catch (const std::exception& e) { log<level::ERR>( fmt::format(