catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id1b5054d3147c39d98309bc11ed7016d6909e2a6
diff --git a/control/fanctl.cpp b/control/fanctl.cpp
index 07ae84b..0061094 100644
--- a/control/fanctl.cpp
+++ b/control/fanctl.cpp
@@ -302,7 +302,7 @@
                     val = "false";
                 }
             }
-            catch (phosphor::fan::util::DBusPropertyError&)
+            catch (const phosphor::fan::util::DBusPropertyError&)
             {
                 val = "Unknown";
             }
@@ -327,7 +327,7 @@
                     val = "false";
                 }
             }
-            catch (phosphor::fan::util::DBusPropertyError&)
+            catch (const phosphor::fan::util::DBusPropertyError&)
             {
                 val = "Unknown";
             }