diff options
author | Kim Alvefur <zash@zash.se> | 2020-01-12 20:36:04 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-01-12 20:36:04 +0100 |
commit | 4a424901c6baefd64fb99acdb019517f6b77d856 (patch) | |
tree | 7a7ade09b0a77ddbcace368eef101a3c3b2f363c /net/server_epoll.lua | |
parent | deedb80ea43834999a49e509bed8d55b0810d95b (diff) | |
download | prosody-4a424901c6baefd64fb99acdb019517f6b77d856.tar.gz prosody-4a424901c6baefd64fb99acdb019517f6b77d856.zip |
net.server_epoll: Log errors caught in listeners on 'error' level
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r-- | net/server_epoll.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index b5c69a6d..74cec7a2 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -191,7 +191,7 @@ function interface:on(what, ...) local ok, err = xpcall(listener, traceback, self, ...); if not ok then if cfg.fatal_errors then - self:debug("Closing due to error calling on%s: %s", what, err); + self:error("Closing due to error calling on%s: %s", what, err); self:destroy(); else self:debug("Error calling on%s: %s", what, err); |