catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2afb405177268451e44f0aff8417777a00d292d9
diff --git a/chassis_state_manager.cpp b/chassis_state_manager.cpp
index 5a3bd1a..fd2ef22 100644
--- a/chassis_state_manager.cpp
+++ b/chassis_state_manager.cpp
@@ -331,7 +331,7 @@
         }
         return false;
     }
-    catch (cereal::Exception& e)
+    catch (const cereal::Exception& e)
     {
         error("deserialize exception: {ERROR}", "ERROR", e);
         fs::remove(path);
@@ -388,7 +388,7 @@
             return true;
         }
     }
-    catch (std::exception& e)
+    catch (const std::exception& e)
     {
         error("deserialize exception: {ERROR}", "ERROR", e);
         fs::remove(path);
diff --git a/host_reset_recovery.cpp b/host_reset_recovery.cpp
index 4ba1c60..aa26916 100644
--- a/host_reset_recovery.cpp
+++ b/host_reset_recovery.cpp
@@ -103,7 +103,7 @@
         throw std::runtime_error(
             "Error in invoking D-Bus logging create interface");
     }
-    catch (std::exception& e)
+    catch (const std::exception& e)
     {
         error("D-bus call exception: {ERROR}", "ERROR", e);
         throw e;
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);
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);