From fe610f0dafb37152fb6374a0b633e3b1a4ebce23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 17 Feb 2022 15:13:14 -0500 Subject: [PATCH] test: log stack --- src/database/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/database/index.js b/src/database/index.js index 51febea19d..d6d0a10179 100644 --- a/src/database/index.js +++ b/src/database/index.js @@ -6,6 +6,7 @@ const databaseName = nconf.get('database'); const winston = require('winston'); if (!databaseName) { + winston.error(new Error('stack').stack); winston.error(new Error('Database type not set! Run ./nodebb setup')); process.exit(); }