From ddfabfa60013721c77cd6a5020e6c8a35513c760 Mon Sep 17 00:00:00 2001 From: Barrie Treloar Date: Thu, 5 Sep 2019 16:14:04 +0930 Subject: [PATCH] fix(app-router): include error stack trace in logger closes aurelia/framework#926 --- src/app-router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app-router.ts b/src/app-router.ts index 81d94761..b9df8a7d 100644 --- a/src/app-router.ts +++ b/src/app-router.ts @@ -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);