diff options
author | Kim Alvefur <zash@zash.se> | 2020-12-16 10:55:04 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-12-16 10:55:04 +0100 |
commit | ec2e732fea302e6072a4a4df559741736a9174ae (patch) | |
tree | 64aca62797d215e8a9313b073fe93608fffdc03f /net/server_epoll.lua | |
parent | d45b5b23e720bf60ad24fb3c0fa4c8c8242f8378 (diff) | |
download | prosody-ec2e732fea302e6072a4a4df559741736a9174ae.tar.gz prosody-ec2e732fea302e6072a4a4df559741736a9174ae.zip |
net.server_epoll: Increase log level for error in callback
It's an error, it should be logged at 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 32b2f032..010d1ca9 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -205,7 +205,7 @@ function interface:on(what, ...) self:error("Closing due to error calling on%s: %s", what, err); self:destroy(); else - self:debug("Error calling on%s: %s", what, err); + self:error("Error calling on%s: %s", what, err); end return nil, err; end |