diff options
Diffstat (limited to 'ext/wasm/api')
-rw-r--r-- | ext/wasm/api/sqlite3-opfs-async-proxy.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-opfs-async-proxy.js b/ext/wasm/api/sqlite3-opfs-async-proxy.js index 3aa20fa63..e3c3b8214 100644 --- a/ext/wasm/api/sqlite3-opfs-async-proxy.js +++ b/ext/wasm/api/sqlite3-opfs-async-proxy.js @@ -435,7 +435,8 @@ const vfsAsyncImpls = { try { [hDir, filenamePart] = await getDirForFilename(filename, !!create); }catch(e){ - storeAndNotify(opName, state.sql3Codes.SQLITE_NOTFOUND); + state.s11n.storeException(1,e); + storeAndNotify(opName, state.sq3Codes.SQLITE_NOTFOUND); mTimeEnd(); wTimeEnd(); return; |