Skip to content

Commit 2c9f75b

Browse files
authored
Update DFGVariable.jl
1 parent 9afbff0 commit 2c9f75b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/DFGVariable.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ Retrieve solver data structure stored in a variable.
417417
"""
418418
function getSolverData(v::DFGVariable, key::Symbol=:default)
419419
#TODO this does not fit in with some of the other error behaviour. but its used so added @error
420-
vnd = haskey(v.solverDataDict, key) ? v.solverDataDict[key] : (@error "Variable does not have solver data $(key)"; nothing)
420+
vnd = haskey(v.solverDataDict, key) ? v.solverDataDict[key] : (@error "Variable $(getLabel(v)) does not have solver data $(key)"; nothing)
421421
return vnd
422422
end
423423

0 commit comments

Comments
 (0)