add error log for invalid clientIP

This commit is contained in:
Barış Soner Uşaklı
2018-06-08 13:19:08 -04:00
parent 8e832abf1e
commit 0c60351960

View File

@@ -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);
}