fix inventory SLF4J SpotBugs issues
[transportpce.git] / inventory / src / main / java / org / opendaylight / transportpce / inventory / DeviceInventory.java
index 07ad030675e6acd9eb3614297d0d492bbb8f1ecc..2b6a2f9e99fd2c14135000d00023a3d5fb8225b4 100644 (file)
@@ -82,7 +82,7 @@ public class DeviceInventory {
             LOG.debug("Statment {}, returned {}", INSERT_ALARM_STRING, count);
             statement.clearParameters();
         } catch (SQLException e) {
-            LOG.error(e.getMessage(), e);
+            LOG.error("Something wrong when storing Alarm into DB", e);
         }
         return count;
     }