Add server error event handler in the identd server

This commit is contained in:
Pavel Djundik 2019-06-10 12:48:43 +03:00
parent be1cfae166
commit 17e01746ba

View file

@ -24,6 +24,9 @@ class Identification {
}
const server = net.createServer(this.serverConnection.bind(this));
server.on("error", (err) => log.error(`Identd server error: ${err}`));
server.listen({
port: Helper.config.identd.port || 113,
host: Helper.config.bind,