diff --git a/src/Logic/Tags/SubstitutingTag.ts b/src/Logic/Tags/SubstitutingTag.ts index 12b726986d..25c6cc8a94 100644 --- a/src/Logic/Tags/SubstitutingTag.ts +++ b/src/Logic/Tags/SubstitutingTag.ts @@ -103,7 +103,7 @@ export default class SubstitutingTag extends TagsFilter { asChange(properties: Readonly>): { k: string; v: string }[] { if (this._invert) { - throw "An inverted substituting tag can not be used to create a change" + throw "An inverted substituting tag can not be used to create a change. The offending tag is " + this.asHumanString() } const v = SubstitutingTag.substituteString(this._value, properties) if (v.match(/{.*}/) !== null) {