cleanup: exception catching by reference

[sensorhandler.cpp:650]: (style) Exception should be caught by reference.

Change-Id: Iec747c2dff988fcf6c6ca29715afa1c44cceee6d
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index bb06b94..770f6dc 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -648,7 +648,7 @@
                              info->unit.c_str());
         }
     }
-    catch (sdbusplus::exception::InvalidEnumString e)
+    catch (const sdbusplus::exception::InvalidEnumString& e)
     {
         log<level::WARNING>("Warning: no unit provided for sensor!");
     }