# HG changeset patch # User Kim Alvefur # Date 1558793366 -7200 # Node ID 39ca4202ae1e408106ca4c8c9b5ec383441a62b1 # Parent a36c731ed540aea9ab38d74964cde33a205047c7 net.server_epoll: Return listener error message diff -r a36c731ed540 -r 39ca4202ae1e net/server_epoll.lua --- a/net/server_epoll.lua Sat Jul 13 19:57:43 2019 +0200 +++ b/net/server_epoll.lua Sat May 25 16:09:26 2019 +0200 @@ -162,7 +162,7 @@ local ok, err = pcall(listener, self, ...); if not ok then log("error", "Error calling on%s: %s", what, err); - return; + return nil, err; end return err; end