Skip to content

Commit 0aa442c

Browse files
Merge pull request #15 from ngrx/master
fix(RouterStore): Stringify error from navigation error event (ngrx#357)
2 parents 17b523a + 0528d2d commit 0aa442c

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)