erikras / erikras/react-redux-universal-hot-example

How to catch all uncaught errors globally

Open
#1,353 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I would like to know where I should write window.onerror, to catch all error, I tried to put it in the componentDidMount of helpers/Html.js but it doesn't work.
Thanks in advance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.