Add debugging info

This commit is contained in:
Senad Uka
2020-09-10 18:00:13 +02:00
parent dd3f30ef0e
commit b27d9d3499

View File

@@ -242,6 +242,7 @@ class OlxCrawler {
let status = AD_STATUS.STATUS_NORMAL;
if (body.indexOf('<html') === -1) {
console.error("This is the body: ", body);
throw { message: 'Failed to fetch page !' }
}