mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 20:13:07 +00:00
Add server error event handler in the identd server
This commit is contained in:
parent
be1cfae166
commit
17e01746ba
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue