diff options
Diffstat (limited to 'ext/wasm/api/sqlite3-api-cleanup.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-cleanup.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-api-cleanup.js b/ext/wasm/api/sqlite3-api-cleanup.js index 12d766886..c2a342589 100644 --- a/ext/wasm/api/sqlite3-api-cleanup.js +++ b/ext/wasm/api/sqlite3-api-cleanup.js @@ -46,6 +46,9 @@ if('undefined' !== typeof Module){ // presumably an Emscripten build let sqlite3; try{ sqlite3 = self.sqlite3ApiBootstrap(); + }catch(e){ + console.error("sqlite3ApiBootstrap() error:",e); + throw e; }finally{ delete self.sqlite3ApiBootstrap; if(rmApiConfig) delete self.sqlite3ApiConfig; |