local t = tonumber(tm)
if not t then
- rspamd_logger.infox(task, 'not a valid number: %s', tm)
+ rspamd_logger.errx(task, 'not a valid number: %s', tm)
return false,false
end
if not err then
upstream:ok()
else
- rspamd_logger.infox(task, 'got error %s when setting greylisting record on server %s',
+ rspamd_logger.errx(task, 'got error %s when setting greylisting record on server %s',
err, upstream:get_addr())
end
end
task:set_pre_result('soft reject', settings['message'])
end
elseif err then
- rspamd_logger.infox(task, 'got error while getting greylisting keys: %1', err)
+ rspamd_logger.errx(task, 'got error while getting greylisting keys: %1', err)
upstream:fail()
end
end