Slight fix to actually handle exception in Sanitytest.
[controller.git] / opendaylight / distribution / sanitytest / src / main / java / org / opendaylight / controller / sanitytest / internal / Activator.java
index d92277269a01f2f8fc3eac7df8af6d78f212bf22..267855236d5d36b094ed16c03215066617bdc8f5 100644 (file)
@@ -71,7 +71,8 @@ public class Activator implements BundleActivator {
                             try {
                                 Thread.sleep(SUBSEQUENT_DELAY);
                             } catch (Exception e) {
-                                ;
+                                System.out.println("Thread.sleep interuptted.");
+                                break;
                             }
                         } else
                             resolved = true;