Add debugging info
This commit is contained in:
@@ -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 !' }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user