catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5dd93e951abc51abb78d3798d7ca2b32d333ee76
diff --git a/certs_manager.cpp b/certs_manager.cpp
index 6527612..2904f45 100644
--- a/certs_manager.cpp
+++ b/certs_manager.cpp
@@ -61,7 +61,7 @@
                             fs::perm_options::replace);
             storageUpdate();
         }
-        catch (fs::filesystem_error& e)
+        catch (const fs::filesystem_error& e)
         {
             log<level::ERR>(
                 "Failed to create directory", entry("ERR=%s", e.what()),
@@ -138,7 +138,7 @@
             }
         }
     }
-    catch (std::exception& ex)
+    catch (const std::exception& ex)
     {
         log<level::ERR>("Error in certificate manager constructor",
                         entry("ERROR_STR=%s", ex.what()));
diff --git a/watch.cpp b/watch.cpp
index c1ac789..ef93584 100644
--- a/watch.cpp
+++ b/watch.cpp
@@ -29,7 +29,7 @@
             fs::create_directories(path);
         }
     }
-    catch (fs::filesystem_error& e)
+    catch (const fs::filesystem_error& e)
     {
         log<level::ERR>("Failed to create directory", entry("ERR=%s", e.what()),
                         entry("DIRECTORY=%s", path.c_str()));