Improve droptest logging 52/7152/1
authorRobert Varga <robert.varga@pantheon.sk>
Sun, 18 May 2014 09:49:15 +0000 (11:49 +0200)
committerRobert Varga <robert.varga@pantheon.sk>
Sun, 18 May 2014 09:53:52 +0000 (11:53 +0200)
Print out the full exceptions, such that we can reason about it.

Change-Id: Ie0ec723253a8e65e255bdc06f6322b1d72033e22
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
drop-test/src/main/java/org/opendaylight/openflowplugin/droptest/DropTestRpcSender.java

index 7da88c688f214a0648a3b7626eff4faba92e0be7..142a769ac4965a57d9193dc5d77a4f49748683a6 100644 (file)
@@ -168,7 +168,7 @@ public class DropTestRpcSender implements PacketProcessingListener {
                        }
                } catch (Exception e) {
                        // TODO Auto-generated catch block
-                       LOG.error("dropTestRpc exception: {}", e.toString());
+                       LOG.error("Failed to process packet", e);
                        synchronized (this) {
                                this._excs++;
                        }