Remove duplicates from log

pull/1760/head
freearhey 4 years ago
parent 0920ccb1cf
commit e0f6c38d81

@ -34,7 +34,11 @@ async function test() {
parallel: 1,
itemCallback: item => {
stats.channels++
if (!item.status.ok && item.status.reason !== 'Timed out') {
if (
!item.status.ok &&
item.status.reason !== 'Timed out' &&
item.status.reason !== 'Duplicate'
) {
stats.failures++
helper.writeToLog(country.url, item.status.reason, item.url)

Loading…
Cancel
Save