diff options
author | stephan <stephan@noemail.net> | 2023-11-15 11:31:49 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-11-15 11:31:49 +0000 |
commit | 5cc4ab93f2d140a00d99e5adcef6d8a6ebb5c85c (patch) | |
tree | 169a747b5edf30dc13b996b268ca2e9a0ff7a53a /ext/wasm | |
parent | 1b963102b783e1297e5b55710887185859fe5aaa (diff) | |
download | sqlite-5cc4ab93f2d140a00d99e5adcef6d8a6ebb5c85c.tar.gz sqlite-5cc4ab93f2d140a00d99e5adcef6d8a6ebb5c85c.zip |
Fix an exception misuse in test-opfs-vfs.js.
FossilOrigin-Name: 9264955e6e47aa8fc3a6f8bed192a6c12f43de49f7fba2e0cc080e47abedde14
Diffstat (limited to 'ext/wasm')
-rw-r--r-- | ext/wasm/test-opfs-vfs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/test-opfs-vfs.js b/ext/wasm/test-opfs-vfs.js index 292d77af1..96d0eacfc 100644 --- a/ext/wasm/test-opfs-vfs.js +++ b/ext/wasm/test-opfs-vfs.js @@ -22,7 +22,7 @@ const tryOpfsVfs = async function(sqlite3){ const opfs = sqlite3.opfs; log("tryOpfsVfs()"); if(!sqlite3.opfs){ - const e = toss("OPFS is not available."); + const e = new Error("OPFS is not available."); error(e); throw e; } |