Prevent break routing issue on error in Angular 2

2019-09-10 00:08发布

问题:

As I notice that when any error occurs in Angular 2 app, It breaks routing also. Is there any way to handle this and prevent break routing issue?

回答1:

No, almost any not handled error will break Angular app, not only router. You must handle/catch/prevent all errors.