Debugging log olx - no normal price.

This commit is contained in:
Naida Vatric
2020-03-04 23:24:15 +01:00
parent b3708cf842
commit 41c926b5bb

View File

@@ -289,6 +289,7 @@ class OlxCrawler {
const priceValues = discountPriceValue.split("KM");
normalPrice = priceValues[0].trim();
} else {
console.log("Body:", body);
throw { message: "Can't find normal price" };
}
if (urgentPriceValue && urgentPriceValue.length > 0) {