mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix exception propagation when the opfs-sahpool VFS fails to initialize to address report in [forum:be0141c639|forum post be0141c639].
FossilOrigin-Name: cdb3a90055afe371962ec6c0931f1b08797aaeaab0358ef64b1cabda0a855b33
This commit is contained in:
@ -1272,7 +1272,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
|
||||
return poolUtil;
|
||||
}).catch(async (e)=>{
|
||||
await thePool.removeVfs().catch(()=>{});
|
||||
return e;
|
||||
throw e;
|
||||
});
|
||||
}).catch((err)=>{
|
||||
//error("rejecting promise:",err);
|
||||
|
Reference in New Issue
Block a user