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 {
server = https.createServer(options, app);
} 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 {
server = http.createServer(app);