summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openecomp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/openecomp')
-rw-r--r--src/main/java/org/openecomp/sparky/viewandinspect/services/VisualizationService.java5
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());