aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-07-10 16:48:26 -0700
committerAlex Yatskov <alex@foosoft.net>2017-07-10 16:48:26 -0700
commit1ed8997240ba5d8ee4fe57062d2dbe8ba46436e2 (patch)
tree2d404805f47eb5bbaadb3783fdb9e634e08a3dc6 /ext/bg/js
parente2373345a4a615ec59a45a6c3c75408826fef9c6 (diff)
work on audio
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/database.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js
index 45ba3d08..b38e00db 100644
--- a/ext/bg/js/database.js
+++ b/ext/bg/js/database.js
@@ -32,8 +32,7 @@ class Database {
if (db.verno !== this.version) {
await db.delete();
}
- }
- catch(error) {
+ } catch(e) {
// NOP
}
}