summaryrefslogtreecommitdiff
path: root/lib/awdrone/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/awdrone/index.js')
-rw-r--r--lib/awdrone/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/awdrone/index.js b/lib/awdrone/index.js
index df947cd..45aa47c 100644
--- a/lib/awdrone/index.js
+++ b/lib/awdrone/index.js
@@ -56,7 +56,9 @@ function update (db) {
.catch( err => {
reject(err)
})
- })
+ }).catch( err => {
+ reject(err)
+ })
})
}