commit | 7cc8ea6395da13608f2127e074641526e42315a2 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:40:56 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:40:56 2021 -0500 |
tree | 24192e4ef3764879b0f19d0d047d2523fea5ab79 | |
parent | aed7b3de090005433b16ca986ed3df4dbc81446f [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2dc48774ef73fcfbe9287196086f829a6948320d
diff --git a/src/main.cpp b/src/main.cpp index 2cdb490..98cae3e 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -77,7 +77,7 @@ phosphor::logging::entry("RET=%d", ret)); } } - catch (std::exception& e) + catch (const std::exception& e) { phosphor::logging::log<phosphor::logging::level::ERR>(e.what()); return -1;