Remove Objects.{is,non}Null abuse
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / connection / ErrorHandlerSimpleImpl.java
index ff4dff57f4a1d2a8e6050e7ac8c4eeddd7df981f..7786f9f01cf056369c00601815f579267155d9cb 100644 (file)
@@ -24,9 +24,9 @@ public class ErrorHandlerSimpleImpl implements ErrorHandler {
     @Override
     public void handleException(Throwable throwable) {
         if (throwable instanceof ConnectionException) {
-            LOG.warn("exception -> {}", throwable.getMessage(), throwable);
+            LOG.warn("Exception", throwable);
         } else {
-            LOG.error("exception -> {}", throwable.getMessage(), throwable);
+            LOG.error("Exception", throwable);
         }
     }
 }