diff options
author | Tian Lee <TianL@amdocs.com> | 2017-09-21 11:33:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-21 11:33:58 +0000 |
commit | c99e4332cb5805e55254985961791b574ec10f97 (patch) | |
tree | 87f77e7ee700e2ef9237bef26c7877220042c627 /src/main/java | |
parent | 4f09f3bb06e0845f28eb026a8d1ae05a5fc82ac9 (diff) | |
parent | f707210a7b373ee03d4fba17e8461966f4497fa4 (diff) |
Merge "Fix Blocker/Critical sonar issues"
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/openecomp/sparky/viewandinspect/services/VisualizationService.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/openecomp/sparky/viewandinspect/services/VisualizationService.java b/src/main/java/org/openecomp/sparky/viewandinspect/services/VisualizationService.java index 63d4e59..e3f57aa 100644 --- a/src/main/java/org/openecomp/sparky/viewandinspect/services/VisualizationService.java +++ b/src/main/java/org/openecomp/sparky/viewandinspect/services/VisualizationService.java @@ -347,10 +347,9 @@ public class VisualizationService { try { output = transformer .generateVisualizationOutput((System.currentTimeMillis() - opStartTimeInMs), graphMeta); - } catch (JsonProcessingException exc) { - throw new ServletException("Caught an exception while generation visualization output", exc); - } catch (IOException exc) { + } catch (Exception exc) { LOG.error(AaiUiMsgs.FAILURE_TO_PROCESS_REQUEST, exc.getLocalizedMessage()); + throw new ServletException("Caught an exception while generation visualization output", exc); } output.setInlineMessage(visContext.getInlineMessage()); |