Add server error event handler in the identd server
This commit is contained in:
parent
be1cfae166
commit
17e01746ba
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user