Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

201
Views
How can I catch all errors in React without a scope?

I am developing an Kiosk app with React, and having a bit trouble because some of the clients are experiencing crashes. So far I tried to enable google chrome crashpad logs, debug logs etc. and could not find anything that could lead to a crash.

So what I have in my mind is, whenever a Crash occurs, I will simply re open the welcome page and let the user continue their work (they need to restart the computer atm. because kiosk app is bound to a windows startup script)

What I tried so far;

  • Bound throw new Error to a button click and set window.onerror to console.log("error"), still having "uncaught error" error (and also log message but the error is still treated as uncaught)
  • ErrorBoundaries, I think I have to throw the error within the component to make this work. But I do not know the error source, it could be action reducers, services or components, so this will not work.

What can I try next?

Note: I cannot easily connect and monitor client kiosks, and errors are rare (only 20 out of 800 computers are having crashes (Google Chrome is not responding crash) every 4-6 hours) so even if I connect to monitor the kiosks, I cannot simply watch the empty screen for 6 hours.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!