mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-19 23:50:49 +02:00
test: log stack
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user