I disabled the onError function to return to our server whenever the browser detects client-side errors. It helps us to catch JavaScript errors that can affect our application and is very useful.
However, onError is triggered as crazy on demand if the user moves before requirejs executes, loading all of its modules. An easy way to play back is to load one of our pages and then quickly move around before everything is loaded.
I am wondering if there is a way to check for these errors due to the user moving around?
Here is an example:
Any ideas would be greatly appreciated.
source
share