commit | 66491c61112291602b0dd31ac550214025334d90 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:23:37 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:23:37 2021 -0500 |
tree | 560de7f6ffd6e0dd062a6a074a233d9b62d740ad | |
parent | 242be740393b9714caa51c6f9dc0da4b9a513aec [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic8e6ade739bd5ea6e79cac6b9bb2b182748e10c8
diff --git a/elog_serialize.cpp b/elog_serialize.cpp index a8b4852..3538bd8 100644 --- a/elog_serialize.cpp +++ b/elog_serialize.cpp
@@ -125,7 +125,7 @@ } return false; } - catch (cereal::Exception& e) + catch (const cereal::Exception& e) { log<level::ERR>(e.what()); fs::remove(path);