</parent>
     <groupId>org.onap.aai.graphadmin</groupId>
     <artifactId>aai-graphadmin</artifactId>
-    <version>1.15.5-SNAPSHOT</version>
+    <version>1.15.6-SNAPSHOT</version>
 
     <properties>
 
 
         */
        public static void main(String[] args) throws AAIException {
 
+               try {
+                       createSchema(args);
+               } catch (Exception e) {
+                       LOGGER.error("Failed to run schema creation", e);
+                       System.exit(1);
+               }
+
+               LOGGER.debug("All done, if the program does not exit, please kill it manually.");
+               System.exit(0);
+       }
+
+       private static void createSchema(String[] args) throws AAIException {
                JanusGraph graph = null;
                System.setProperty("aai.service.name", GenTester.class.getSimpleName());
 
                        ErrorLogHelper.logError("AAI_4000", ex.getMessage());
                        System.exit(1);
                }
-
-               LOGGER.debug("-- all done, if program does not exit, please kill.");
-               System.exit(0);
        }
 
        private static void setSchemaInitializedToFalse(JanusGraph graph, Optional<Vertex> schemaInitializedVertex) {