Remove duplicates from log
This commit is contained in:
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…
Reference in New Issue