From 2ac385bc71968467eebc12275114bd44cc7ef2eb Mon Sep 17 00:00:00 2001 From: Lamp Date: Sat, 14 Jul 2018 15:19:18 -0700 Subject: [PATCH] some console.logs at boot --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index 13d44ec..f7b9277 100755 --- a/src/main.js +++ b/src/main.js @@ -10,9 +10,12 @@ global.dbClient = new (require('pg').Client)({ connectionString: process.env.DATABASE_URL, ssl: !testmode, }); +console.log("Connecting to Postgres…") dbClient.connect().then(function(){ + console.log("Connecting to MongoDB…") (require('mongodb').MongoClient).connect(config.MONGODB_URI).then(client=>{ global.mdbClient = client; + console.log("Connecting to Discord…") dClient.login(config.DISCORD_TOKEN); }); });