Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Improving server side error handling #90

Open
slatkovic opened this issue Oct 1, 2015 · 1 comment
Open

Improving server side error handling #90

slatkovic opened this issue Oct 1, 2015 · 1 comment

Comments

@slatkovic
Copy link

In a case of an error on the server side, the next middleware in chain is called without logging the error. In some cases the rendering logic silently fails and it's hard to debug rendering issues. An example would be rendering a template from an existing error middleware.

Suggested improvement: Adding a debug statement in the catch block.

@samsel
Copy link
Contributor

samsel commented Oct 6, 2015

@slatkovic are you suggesting to add something like debuglog? A PR would be awesome. if not, will address this as soon as we get done with making react-engine compatible with react-router 1.x

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants