One line server startup errors
This commit is contained in:
parent
704dae9dec
commit
c845d5723d
@ -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