Commit graph

8 commits

Author SHA1 Message Date
Apollinaire
e2f58c54bd Reset error catcher on route change 2019-01-23 14:29:59 +01:00
Apollinaire
1e6e6f88f3 Wrap ErrorCatcher with withSiteData
This way you can add multiple error catchers in your react tree. My use case is adding one in the Modal component, so that when you add a buggy thing in the modal it's caught here and the user can exit the modal and the rest of the app is still rendered.
2019-01-10 14:23:50 +01:00
SachaG
e350c5d281 Avoid siteData errors 2018-12-10 15:49:25 +09:00
SachaG
50315bcf73 Fix linting 2018-12-02 10:28:04 +09:00
SachaG
8330accba7 centralize error throwing in new throwError function 2018-12-02 10:01:48 +09:00
SachaG
46bdfe0f57 Add app.mounted callback to App.jsx; move error tracking init to server/client init.js file 2018-11-24 10:49:37 +09:00
SachaG
9e5528e6d5 Add sourceVersion to server; add withSiteData HoC 2018-11-24 09:56:41 +09:00
SachaG
983c9ed08a vulcan-errors package 2018-11-04 16:32:34 +09:00