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