Skip to content

Commit aa18e55

Browse files
jim-hill-rdehann
andcommitted
Use typeof instead of instance object in error message
Co-authored-by: Dehann Fourie <[email protected]>
1 parent dc3085d commit aa18e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Neo4jDFG/services/CommonFunctions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ function _matchmergeVariableSubnode!(
315315
result = commit(tx)
316316
end
317317
length(result.errors) > 0 && error(string(result.errors))
318-
length(result.results[1]["data"]) != 1 && error("Cannot find subnode '$(subnode)' for variable '$variablekey'")
318+
length(result.results[1]["data"]) != 1 && error("Cannot find desired subnode::'$(typeof(subnode))' for variable '$variablekey'")
319319
length(result.results[1]["data"][1]["row"]) != 1 && error("Cannot find subnode '$(subnode)' for variable '$variablekey'")
320320
return result.results[1]["data"][1]["row"][1]
321321
end

0 commit comments

Comments
 (0)