diff --git a/index.js b/index.js index fe5a40a..9b6270a 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,10 @@ await dbInit() .then( () => console.log("Connected to database!") ).catch( - err => console.log("Error occured!") && console.dir(err, { depth: null }) + err => { + console.log("Error occured!") + console.dir(err, { depth: null }) + } ) APP.use(express.urlencoded({ extended: true }))