Fix sonar issues
[aai/babel.git] / src / main / java / org / onap / aai / babel / BabelApplication.java
index 71fe7e0..4f67b21 100644 (file)
@@ -50,17 +50,11 @@ public class BabelApplication extends SpringBootServletInitializer {
         if (keyStorePassword == null || keyStorePassword.isEmpty()) {
             throw new IllegalArgumentException("Mandatory property KEY_STORE_PASSWORD not set");
         }
-        try {
-            SpringApplication app = new SpringApplication(BabelApplication.class);
-            app.setLogStartupInfo(false);
-            app.setRegisterShutdownHook(true);
-            app.addInitializers(new PropertyPasswordConfiguration());
-            context = app.run(args);
-        }
-        catch(Exception ex){
-            ex.printStackTrace();
-            throw ex;
-        }
+        SpringApplication app = new SpringApplication(BabelApplication.class);
+        app.setLogStartupInfo(false);
+        app.setRegisterShutdownHook(true);
+        app.addInitializers(new PropertyPasswordConfiguration());
+        context = app.run(args);
     }
 
     public static void exit() {