OPNFLWPLUG-1032: Neon-MRI: Bump odlparent, yangtools, mdsal
[openflowplugin.git] / samples / simple-client / src / main / java / org / opendaylight / openflowjava / protocol / impl / clients / UdpSimpleClient.java
index d18438f04f2e03d2f856f96a66f731c2cff1e785..4438ba84f9f2e4e29f1e36dbf93150e60f6c670c 100644 (file)
@@ -76,14 +76,14 @@ public class UdpSimpleClient 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);