aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
Diffstat (limited to 'database')
-rw-r--r--database/db.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/database/db.js b/database/db.js
index 4af2f21..551c8a5 100644
--- a/database/db.js
+++ b/database/db.js
@@ -51,9 +51,8 @@ let init = function(db, config){
]
).then(() => {
printAndSave(config, clientToken, adminToken)
- })
-
- })
+ }).catch(function(error) { console.log(error) })
+ }).catch(function(error) { console.log(error) })
})