israeli-bank-scrapers
israeli-bank-scrapers copied to clipboard
bad description on error when scrapping isracard
description
before scrapping there should be validation that all mandatory fields exists in the given JSON. this isn't seems to be the case for isracard
expected behavior
scrapping isracard without the card6Digits
or any other field will generate a readable and actionable message.
actual behavior
when scrapping isracard card without the card6Digits
field i'm getting errorType
=GENERIC
and errorMessage
='Evaluation failed: SyntaxError: Unexpected end of JSON input\n at __puppeteer_evaluation_script__:16:26'