Merge pull request #1492 from thelounge/xpaw/simpler-server-error

One line server startup errors
This commit is contained in:
Jérémie Astori 2017-09-03 14:37:03 -04:00 committed by GitHub
commit d7d185d06a

View File

@ -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));