Skip to content

Commit

Permalink
Update GraphContext.cs
Browse files Browse the repository at this point in the history
Signed-off-by: berrybeat GmbH <[email protected]>
  • Loading branch information
berrybeat authored Sep 3, 2024
1 parent 9e5eb4d commit e71bbfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Neo4j.Berries.OGM/Contexts/GraphContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,13 @@ public string GetGeneratedCypher()
}

var _parameters = parameters.ToList();
var result = CypherBuilder.ToString() + "; Params: " + JsonSerializer.Serialize(_parameters).ToString();
var result2 = BuildFinalQuery(CypherBuilder.ToString(), _parameters.ToDictionary(pair => pair.Key, pair => pair.Value));
return result2;
}

catch (Exception ex)
{
return $"Error: {ex.Message}";
return $"Error: {ex.Message}; {ex.StackTrace}";
}
}

Expand Down

0 comments on commit e71bbfa

Please sign in to comment.