diff --git a/test/index.js b/test/index.js index d6b535116..5288147dd 100644 --- a/test/index.js +++ b/test/index.js @@ -58,13 +58,9 @@ async function test() { } catch (err) { - if(!err.response) { + stats.failures++ - stats.failures++ - - writeToLog(country.url, err.message, item.url) - - } + writeToLog(country.url, err.message, item.url) }