We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df17c40 commit d477ac6Copy full SHA for d477ac6
packages/@glimmer/runtime/lib/modifiers/on.ts
@@ -85,7 +85,7 @@ export class OnModifierState {
85
throw new Error(
86
`You must pass a function as the second argument to the \`on\` modifier; you passed ${
87
userProvidedCallback === null ? 'null' : typeof userProvidedCallback
88
- }. While rendering:\n\n${args.positional[1]?.debugLabel ?? `{unlabeled value}`}`
+ }. While rendering:\n\n${args.positional[1]?.debugLabel ?? '(unknown)'} on <${this.element.tagName.toLowerCase()}>`
89
);
90
}
91
0 commit comments