[js] Capture console.error to sentry


#1

Hi, I’m just upgrading to the new SDKs, and one thing that I cannot find in the docs is how to capture console.error and log these to sentry. Do you guys have any tips on how to do this?