Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "jembadb", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Json Embeddable Appendable Database", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -104,3 +104,8 @@ const { Worker } = require('worker_threads'); | ||
return this._action('openDb', query); | ||
try { | ||
await this._action('openDb', query); | ||
} catch(e) { | ||
this._terminate(); | ||
throw e; | ||
} | ||
} | ||
@@ -107,0 +112,0 @@ |
127834
3353