diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2024-01-23 17:08:11 +0000 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2024-01-23 17:08:11 +0000 |
commit | 817ad4fd02872a54f7102ca885b3675402763d75 (patch) | |
tree | 8af7d6748b2e632ad3a2e5f852109df7c1f2436a /src/client-runtime.ffi.mjs | |
parent | 16c59697e8d498ec00094163a11957b22b849e3a (diff) | |
download | lustre-817ad4fd02872a54f7102ca885b3675402763d75.tar.gz lustre-817ad4fd02872a54f7102ca885b3675402763d75.zip |
:recycle: Add more context to Error type.
Diffstat (limited to 'src/client-runtime.ffi.mjs')
-rw-r--r-- | src/client-runtime.ffi.mjs | 2 |
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)); |