aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-12-16 10:55:04 +0100
committerKim Alvefur <zash@zash.se>2020-12-16 10:55:04 +0100
commitec2e732fea302e6072a4a4df559741736a9174ae (patch)
tree64aca62797d215e8a9313b073fe93608fffdc03f /net/server_epoll.lua
parentd45b5b23e720bf60ad24fb3c0fa4c8c8242f8378 (diff)
downloadprosody-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.lua2
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