I'm creating a website using React. I'm using webpack to bundle my imports. Unfortunately, when I hit certain errors while working on the site, it crashes, preventing me from seeing what caused the error. I have a screenshot showing what this looks like (ignore the specific error). This only happens for certain types of errors -- I think it's when the error happens in something I imported (it's nerdamer, a JavaScript CAS) as opposed to the code I wrote.
How do I ensure the error just comes up in the console as opposed to crashing the site?
Thank you!
Top comments (0)