File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ mongoose.connect(dbConnectionStr, {
5858
5959console . log ( 'About to test connection' )
6060const db = mongoose . connection
61-
61+ console . log ( db )
6262db . on ( 'error' , ( ) => {
6363 console . error . bind ( console , 'Connection Error: Something went wrong!' )
6464 logger . error ( error . connectionError ( ) )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const logger = require('../middleware/logger')
88function getMongoConnectionString ( ) {
99 const appEnv = process . env . NODE_ENV
1010 let dbUser , dbPassword
11-
11+ console . log ( 'Attempting to get connection string' )
1212 if ( process . env . MONGO_USER && process . env . MONGO_PASSWORD ) {
1313 dbUser = process . env . MONGO_USER
1414 dbPassword = process . env . MONGO_PASSWORD
You can’t perform that action at this time.
0 commit comments