Merge pull request #1492 from thelounge/xpaw/simpler-server-error
One line server startup errors
This commit is contained in:
commit
d7d185d06a
@ -94,6 +94,8 @@ module.exports = function() {
|
||||
};
|
||||
}
|
||||
|
||||
server.on("error", (err) => log.error(`${err}`));
|
||||
|
||||
server.listen(listenParams, () => {
|
||||
if (typeof listenParams === "string") {
|
||||
log.info("Available on socket " + colors.green(listenParams));
|
||||
|
Loading…
Reference in New Issue
Block a user