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 eaca529 commit bb67dabCopy full SHA for bb67dab
src/LiveComponent/assets/src/live_controller.ts
@@ -73,7 +73,7 @@ export default class extends Controller {
73
74
// helps typescript be sure this is an HTMLElement, not just Element
75
if (!(this.element instanceof HTMLElement)) {
76
- throw new Error('Invalid Element Type');
+ throw new Error('Invalid Element Type, foo');
77
}
78
79
if (this.element.dataset.poll !== undefined) {
0 commit comments