Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

203
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda