diff options
author | Parshad Patel <pars.patel@samsung.com> | 2019-08-06 19:41:24 +0900 |
---|---|---|
committer | Parshad Patel <pars.patel@samsung.com> | 2019-08-06 19:43:20 +0900 |
commit | 6f8f97e9d53f6fefaa7e1523fe241617df1f48b4 (patch) | |
tree | f00a5f253099ec25026bf2a789ca8181969ebd30 /ecomp-portal-BE-common | |
parent | 4b7993a3e61c9afea0674ec6a81fb1bcb13c8189 (diff) |
Fix sonar issues in portal
Use a logger to log this exception
Make sure creating this cookie without the "secure" flag is safe here
Either re-interrupt this method or rethrow the "InterruptedException"
Issue-ID: PORTAL-562
Change-Id: I91d6adce835d9adec4328642e8445f074f7d2d57
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'ecomp-portal-BE-common')
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/uebhandler/MainUebHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/uebhandler/MainUebHandler.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/uebhandler/MainUebHandler.java index 33647874..fdb4baf3 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/uebhandler/MainUebHandler.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/uebhandler/MainUebHandler.java @@ -117,6 +117,7 @@ public class MainUebHandler { Thread.sleep(10); } catch (InterruptedException e) { logger.error(EELFLoggerDelegate.errorLogger, "runHandler interrupted", e); + Thread.currentThread().interrupt(); } catch (Exception e) { logger.error(EELFLoggerDelegate.errorLogger, "runHandler failed", e); } |