Restore interrupted state
[aai/sparky-be.git] / sparkybe-onap-service / src / main / java / org / onap / aai / sparky / sync / SyncControllerImpl.java
index 397e2fe..8b008de 100644 (file)
@@ -626,6 +626,7 @@ public class SyncControllerImpl implements SyncController {
       } catch (InterruptedException exc) {
         LOG.error(AaiUiMsgs.ERROR_GENERIC,
             "An error occurred while waiting for sync to complete. Error = " + exc.getMessage());
+        Thread.currentThread().interrupt();
       }
 
     }