[no ticket][risk=no] Puppeteer test log fix (#4603)
[no ticket][risk=no] Puppeteer test log fix (#4603)

* handling undefined data

* better message when parsing console exception occurs
all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench