I have an App using lazy loading, and is running the app in a browser, so when a user enters the url for my site he is navigated to
if the user now changes the url to a url like
he will get an error like
console.js:35 ERROR Error: Uncaught (in promise): invalid views to insert at c (polyfills.js:3) at Object.reject (polyfills.js:3) at NavControllerBase._fireError (nav-controller-base.js:223) at NavControllerBase._failed (nav-controller-base.js:216) at nav-controller-base.js:263
in the console
How can I verify that the url exist before letting the nav-controller throw this error.
In Sentry, where I record all errors it looks like this
I think this happens when the user double clicks on the back navigation arrow, but haven’t been able to verify