Commit ce5b6d7f by ashutoshm Committed by Sarath Subramanian

ATLAS-3318: Throw exception when getGraphInstance() is unable to open janusgraph instance

parent eb513c31
......@@ -174,6 +174,9 @@ public class AtlasJanusGraphDatabase implements GraphDatabase<AtlasJanusVertex,
config.addProperty("graph.allow-upgrade", true);
graphInstance = JanusGraphFactory.open(config);
}
else {
throw new RuntimeException(e);
}
}
atlasGraphInstance = new AtlasJanusGraph();
validateIndexBackend(config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment