Bump odlparent 2.0.2 to 2.0.4
[controller.git] / opendaylight / commons / protocol-framework / src / main / java / org / opendaylight / protocol / framework / NeverReconnectStrategy.java
index 926183f973ed43ec722a8350b846d83d4a1024f6..824242cba6eccbe228cc0d7c271de7b703443c82 100644 (file)
@@ -32,7 +32,7 @@ public final class NeverReconnectStrategy implements ReconnectStrategy {
 
     @Override
     public Future<Void> scheduleReconnect(final Throwable cause) {
-        return executor.newFailedFuture(new Throwable());
+        return executor.newFailedFuture(new Throwable("Reconnect failed", cause));
     }
 
     @Override