-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Illegal invocation #64
Comments
Hey @akshart, I'm not sure how to reproduce. Can you put together a minimal reproducible example? |
This issue is currently quite prevalent in our usage of Ahoy. I don't think it will be very easy to provide a way to reproduce but would it be possible to improving the visibility into the circumstances surrounding the exceptions being thrown? The error it self doesn't give very much info on why it's taking place. Would it be possible to add a try catch to give useful debug output and rethrow, such as an output of eventsUrl() and data and index_module_1's return in order to help us with debugging the Illegal Invocations? |
getting TypeError: Illegal invocation
The stack trace’s top layer stops at
window.navigator.sendBeacon(eventsUrl(), index_module_1(data)
which comes from ahoy.jsCalling function is
ahoy.trackView()
Errors are not confined to any particular browser or device.
The text was updated successfully, but these errors were encountered: