1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix an exception misuse in test-opfs-vfs.js.

FossilOrigin-Name: 9264955e6e47aa8fc3a6f8bed192a6c12f43de49f7fba2e0cc080e47abedde14
This commit is contained in:
stephan
2023-11-15 11:31:49 +00:00
parent 1b963102b7
commit 5cc4ab93f2
3 changed files with 8 additions and 8 deletions

View File

@ -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;
}