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/scheduled_host_transition.cpp b/scheduled_host_transition.cpp index 6329a93..06035aa 100644 --- a/scheduled_host_transition.cpp +++ b/scheduled_host_transition.cpp
@@ -245,7 +245,7 @@ return true; } } - catch (std::exception& e) + catch (const std::exception& e) { error("deserialize exception: {ERROR}", "ERROR", e); fs::remove(path);