log error

This commit is contained in:
Jonny_Bro (Nikita) 2023-06-27 00:43:31 +05:00
parent 0e22250f71
commit b069145bff

View file

@ -19,7 +19,7 @@ module.exports = (app, config, themeConfig, modules) => {
try { try {
server = https.createServer(options, app); server = https.createServer(options, app);
} catch (e) { } catch (e) {
console.log(`${"discord-dashboard issue:".red} There's a problem while creating server, check if the port specified is already on use.`); console.log(`${"discord-dashboard issue:".red} There's a problem while creating server, check if the port specified is already on use.\n${e}`);
} }
} else { } else {
server = http.createServer(app); server = http.createServer(app);