add error log for invalid clientIP

v1.18.x
Barış Soner Uşaklı 7 years ago
parent 8e832abf1e
commit 0c60351960

@ -74,6 +74,7 @@ Blacklist.test = function (clientIp, callback) {
try {
addr = ipaddr.parse(clientIp);
} catch (err) {
winston.error('[meta/blacklist] Error parsing client IP : ' + clientIp);
return callback(err);
}

Loading…
Cancel
Save