Skip to content

Commit 0528d2d

Browse files
brandonrobertsMikeRyanDev
authored andcommitted
fix(RouterStore): Stringify error from navigation error event (#357)
Closes #356
1 parent 81afd0d commit 0528d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/router-store/src/router_store_module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export class StoreRouterConnectingModule {
248248
this.dispatchRouterAction(ROUTER_ERROR, {
249249
routerState: this.routerState,
250250
storeState: this.storeState,
251-
event,
251+
event: new NavigationError(event.id, event.url, `${event}`),
252252
});
253253
}
254254

0 commit comments

Comments
 (0)