You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to debug the matomo.js file and see if the window.onerror function is called. It seems like this is not even happening. The normal tracking is working fine. Does anybody has an idea what could be wrong?
We are currently on Angular version 16.2.12 and are using version 5.0.4 of this library.
Note: I tried to throw and error and also to force an error with calling an non existing function.
The text was updated successfully, but these errors were encountered:
Hey, I sadly can't provide the repo where I stumbled upon this problem. I will see if I can setup a small example repo and check if I can reproduce it there.
To test the error catching I threw an error in our AppComponent in ngOnInit. But I also noticed that window.onerror is also not working if I define the function myself. I was only able to catch all uncaught errors with providing a custom ErrorHandler.
Hey, I'm trying to "log" all uncaught JS errors with matomo. I enabled the
enableJSErrorTracking
option, but no request is made when an error occurs.I tried to debug the matomo.js file and see if the
window.onerror
function is called. It seems like this is not even happening. The normal tracking is working fine. Does anybody has an idea what could be wrong?We are currently on Angular version
16.2.12
and are using version5.0.4
of this library.Note: I tried to throw and error and also to force an error with calling an non existing function.
The text was updated successfully, but these errors were encountered: