commit | 8583b3b93df7729b9246d369c6de4a42841bbc1d | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:19:20 2021 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Thu Oct 07 13:23:56 2021 +0000 |
tree | f1ad6999cd0ca0b8c891f6b835ec6f462bddf609 | |
parent | 2c36e5adbbd70a401507c317d4fe8fe39f894439 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2afb405177268451e44f0aff8417777a00d292d9
diff --git a/host_state_manager.cpp b/host_state_manager.cpp index 16f2bbf..8d35a07 100644 --- a/host_state_manager.cpp +++ b/host_state_manager.cpp
@@ -364,7 +364,7 @@ } return false; } - catch (cereal::Exception& e) + catch (const cereal::Exception& e) { error("deserialize exception: {ERROR}", "ERROR", e); fs::remove(path);