Software /
code /
prosody
Comparison
net/server_epoll.lua @ 11239:06a5919e2496
net.server_epoll: Increase log level for error in callback
It's an error, it should be logged at error level.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 16 Dec 2020 10:55:04 +0100 |
parent | 11068:988ddd57e851 |
child | 11264:2cdcf55c6dd5 |
comparison
equal
deleted
inserted
replaced
11238:ec84194356d4 | 11239:06a5919e2496 |
---|---|
203 if not ok then | 203 if not ok then |
204 if cfg.fatal_errors then | 204 if cfg.fatal_errors then |
205 self:error("Closing due to error calling on%s: %s", what, err); | 205 self:error("Closing due to error calling on%s: %s", what, err); |
206 self:destroy(); | 206 self:destroy(); |
207 else | 207 else |
208 self:debug("Error calling on%s: %s", what, err); | 208 self:error("Error calling on%s: %s", what, err); |
209 end | 209 end |
210 return nil, err; | 210 return nil, err; |
211 end | 211 end |
212 return err; | 212 return err; |
213 end | 213 end |