I have a cypher script that is automatically run when a docker container starts. I'd like to run n10s.graphconfig.init() when the container was run for the first time. However, after that it gives an error. It's not causing any issue but I'd like to check if the error message could be avoided by running the init() call only if the graph is empty.
The error message says:
n10s.graphconfig.init`: Caused by: n10s.graphconfig.GraphConfigProcedures$GraphConfigException: The graph is non-empty