Skip to content

Commit

Permalink
fix(app-router): include error stack trace in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
baerrach committed Sep 5, 2019
1 parent 1725837 commit ddfabfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const processResult = (

if (!result.completed) {
if (result.output instanceof Error) {
logger.error(result.output.toString());
logger.error(result.output.toString(), result.output);
}

restorePreviousLocation(router);
Expand Down

0 comments on commit ddfabfa

Please sign in to comment.