Commit 7502ff93 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Fix: Skip branch creation of already created graphs

parent 490bab80
......@@ -404,7 +404,14 @@ namespace Coscine.Api.Tree.Controllers
}
else
{
_rdfStoreConnector.CreateNamedGraph(graphNameUri);
try
{
_rdfStoreConnector.CreateNamedGraph(graphNameUri);
}
catch (Exception)
{
// Graph creation failed because it has been created before, skip this for now
}
if (CoscineLoggerConfiguration.IsLogLevelActivated(LogType.Analytics))
{
......
Supports Markdown
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