commit | 120bc4ccb75d04e1d745244af6a62ee332733b52 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 14:41:25 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 14:41:25 2021 -0500 |
tree | b640d384e624b01f546f4fa615dd93b93cba39e3 | |
parent | 15c5bd1b60300255d9dd2ffdd77eaf6dfce51722 [diff] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I873cbdcd8d4e7f553efbde0d667293d36ba5dfa4
diff --git a/src/mainapp.cpp b/src/mainapp.cpp index 1654eca..56061d0 100644 --- a/src/mainapp.cpp +++ b/src/mainapp.cpp
@@ -253,7 +253,7 @@ event.run(std::nullopt); } } - catch (InternalFailure& e) + catch (const InternalFailure& e) { phosphor::logging::commit<InternalFailure>();