improve fixed incorrect Future usage in (Bundle)FlowForwarder
[openflowplugin.git] / applications / forwardingrules-manager / src / main / java / org / opendaylight / openflowplugin / applications / frm / impl / BundleFlowForwarder.java
index 351f703dbb0056916292657c4d3adc5704aa5277..2110297361a94798160ed7d98f72e4dcfbd4133e 100644 (file)
@@ -245,6 +245,7 @@ public class BundleFlowForwarder {
         @Override
         public void onFailure(Throwable throwable) {
             LOG.error("Error while pushing flow add bundle {} for device {}", message, nodeId);
+            resultFuture.setException(throwable);
         }
     }
 }