Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Improve error logging on server
Browse files Browse the repository at this point in the history
  • Loading branch information
comus committed Feb 7, 2017
1 parent 01b4a80 commit 7594462
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nova-routing/lib/server/router.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function generateSSRData(options, req, res, renderProps) {

css = req.css;
} catch (err) {
console.log(err) // eslint-disable-line no-console
console.error(new Date(), 'error while server-rendering', err.stack); // eslint-disable-line no-console
}

Expand Down

0 comments on commit 7594462

Please sign in to comment.