aboutsummaryrefslogtreecommitdiff
path: root/src/client-runtime.ffi.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client-runtime.ffi.mjs')
-rw-r--r--src/client-runtime.ffi.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client-runtime.ffi.mjs b/src/client-runtime.ffi.mjs
index 13e3906..0b6c58f 100644
--- a/src/client-runtime.ffi.mjs
+++ b/src/client-runtime.ffi.mjs
@@ -19,7 +19,7 @@ export class LustreClientApplication {
selector instanceof HTMLElement
? selector
: document.querySelector(selector);
- if (!root) return new Error(new ElementNotFound());
+ if (!root) return new Error(new ElementNotFound(selector));
const app = new LustreClientApplication(init(flags), update, view, root);
return new Ok((msg) => app.send(msg));