OPNFLWPLUG-1032: Neon-MRI: Bump odlparent, yangtools, mdsal
[openflowplugin.git] / samples / simple-client / src / main / java / org / opendaylight / openflowjava / protocol / impl / clients / ListeningSimpleClient.java
index d19f655757817e5efa269f2be9334460caad61ca..7eba2f845d52094a7b43ad8deb2e603fe368d424 100644 (file)
@@ -76,7 +76,7 @@ public class ListeningSimpleClient implements OFClient {
                 }
             }
         } catch (InterruptedException ex) {
-            LOG.error(ex.getMessage(), ex);
+            LOG.error("Error {}", ex);
         } finally {
             LOG.debug("listening client shutting down");
             try {
@@ -84,7 +84,7 @@ public class ListeningSimpleClient implements OFClient {
                 bossGroup.shutdownGracefully().get();
                 LOG.debug("listening client shutdown succesful");
             } catch (InterruptedException | ExecutionException e) {
-                LOG.error(e.getMessage(), e);
+                LOG.error("Error {}", e);
             }
         }
         scenarioDone.set(true);