israeli-bank-scrapers icon indicating copy to clipboard operation
israeli-bank-scrapers copied to clipboard

bad description on error when scrapping isracard

Open liranelisha opened this issue 1 year ago • 0 comments

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'

liranelisha avatar May 19 '23 08:05 liranelisha