Jeeten Parmar
Jeeten Parmar

Reputation: 5757

Prevent break routing issue on error in Angular 2

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?

Upvotes: 1

Views: 219

Answers (1)

kemsky
kemsky

Reputation: 15271

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

Upvotes: 2

Related Questions