Skip to content

Commit

Permalink
Fix incorrect error message for missing member
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Jun 23, 2024
1 parent 6f26989 commit 14ad21f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public IValue getValue() throws EvaluationException {
if (this.value == null) {
IScriptMember scriptMember = this.script.getMember(member);
if (scriptMember == null) {
this.lastEvaluationException = new EvaluationException(Component.translatable("script.integratedscripting.error.member_not_in_network", member, path.toString()));
this.lastEvaluationException = new EvaluationException(Component.translatable("script.integratedscripting.error.member_not_in_network", this.disk, this.member, this.path.toString()));
throw this.lastEvaluationException;
}
this.value = scriptMember.getValue();
Expand Down

0 comments on commit 14ad21f

Please sign in to comment.