catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id4f88568c2897ab1117dcad647783a9127c0600d
diff --git a/bmc_dump_entry.cpp b/bmc_dump_entry.cpp
index 811ba2d..6bdb761 100644
--- a/bmc_dump_entry.cpp
+++ b/bmc_dump_entry.cpp
@@ -22,7 +22,7 @@
     {
         std::filesystem::remove_all(file.parent_path());
     }
-    catch (std::filesystem::filesystem_error& e)
+    catch (const std::filesystem::filesystem_error& e)
     {
         // Log Error message and continue
         log<level::ERR>(
diff --git a/core_manager_main.cpp b/core_manager_main.cpp
index 3e0e459..7294cb2 100644
--- a/core_manager_main.cpp
+++ b/core_manager_main.cpp
@@ -45,7 +45,7 @@
         }
     }
 
-    catch (InternalFailure& e)
+    catch (const InternalFailure& e)
     {
         commit<InternalFailure>();
         return -1;
diff --git a/dump_manager_main.cpp b/dump_manager_main.cpp
index 1eb5b31..7ee876a 100644
--- a/dump_manager_main.cpp
+++ b/dump_manager_main.cpp
@@ -100,7 +100,7 @@
             elog<InternalFailure>();
         }
     }
-    catch (InternalFailure& e)
+    catch (const InternalFailure& e)
     {
         commit<InternalFailure>();
         return -1;
diff --git a/dump_offload.cpp b/dump_offload.cpp
index ada0e8a..7795bb2 100644
--- a/dump_offload.cpp
+++ b/dump_offload.cpp
@@ -218,7 +218,7 @@
             writeOnUnixSocket(socketFD(), buffer.get(), size);
         }
     }
-    catch (std::ifstream::failure& oe)
+    catch (const std::ifstream::failure& oe)
     {
         std::remove(writePath.c_str());
         auto err = errno;
diff --git a/dump_serialize.cpp b/dump_serialize.cpp
index 427cf57..0104b83 100644
--- a/dump_serialize.cpp
+++ b/dump_serialize.cpp
@@ -37,7 +37,7 @@
         }
         return false;
     }
-    catch (cereal::Exception& e)
+    catch (const cereal::Exception& e)
     {
         log<level::ERR>(
             fmt::format("Failed to deserialize, errormsg({})", e.what())
diff --git a/elog_watch.cpp b/elog_watch.cpp
index 86e42f2..e95c991 100644
--- a/elog_watch.cpp
+++ b/elog_watch.cpp
@@ -151,7 +151,7 @@
             iMgr.IMgr::create((*item).first, fullPaths);
         }
     }
-    catch (QuotaExceeded& e)
+    catch (const QuotaExceeded& e)
     {
         // No action now
     }