From eb2a7c97c0007b013bd1784ac17d57be02b63d03 Mon Sep 17 00:00:00 2001 From: Michael DÜrre Date: Thu, 10 Mar 2022 10:39:16 +0100 Subject: migrate sdnr features to phosphorus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix mapper and switch to dom api Updated to use phosphorus version of parent poms Issue-ID: CCSDK-3566 Signed-off-by: Michael DÜrre Change-Id: I98c5bef9286622e0d66b53db687557d798cd53f5 Signed-off-by: Michael DÜrre --- .../wt/mountpointstateprovider/impl/MountpointStatePublisher.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sdnr/wt/mountpoint-state-provider/provider/src/main') diff --git a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStatePublisher.java b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStatePublisher.java index e430a5e24..82f98a3b6 100644 --- a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStatePublisher.java +++ b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointStatePublisher.java @@ -83,8 +83,11 @@ public class MountpointStatePublisher implements Runnable { } else { pauseThread(); } - } catch (Exception ex) { - LOG.error("Exception while publishing message, ignoring and continuing ... ", ex); + } catch (InterruptedException e) { + LOG.error("InterruptedException while publishing message, ignoring and continuing ... ", e); + Thread.currentThread().interrupt(); + } catch (Exception e) { + LOG.error("Exception while publishing message, ignoring and continuing ... ", e); } } } -- cgit 1.2.3-korg