net.server_epoll: Increase log level for error in callback

It's an error, it should be logged at error level.
This commit is contained in:
Kim Alvefur 2020-12-16 10:55:04 +01:00
parent d45b5b23e7
commit ec2e732fea

View file

@ -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