Skip to content

Commit bf71880

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CloudGraphsDFG/services/CommonFunctions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ function _matchmergeVariableSubnode!(
322322
result = commit(tx)
323323
end
324324
length(result.errors) > 0 && error(string(result.errors))
325-
length(result.results[1]["data"]) != 1 && error("Cannot find subnode '$(subnode)' for variable '$variablekey'")
325+
length(result.results[1]["data"]) != 1 && error("Cannot find desired subnode::'$(typeof(subnode))' for variable '$variablekey'")
326326
length(result.results[1]["data"][1]["row"]) != 1 && error("Cannot find subnode '$(subnode)' for variable '$variablekey'")
327327
return result.results[1]["data"][1]["row"][1]
328328
end

0 commit comments

Comments
 (0)