Reputation: 447
Some of ours client-side exceptions don't contain any details :
Script error. at unknown
It seams that these errors aren't related to a specific OS or browser:
Is there a way to get more info ?
Upvotes: 7
Views: 5461
Reputation: 447
I think I have my answer. Our scripts are behind a CDN :
Browser exceptions Most browser exceptions are reported.
If your web page includes script files from content delivery networks or other domains, ensure your script tag has the attribute crossorigin="anonymous", and that the server sends CORS headers. This will allow you to get a stack trace and detail for unhandled JavaScript exceptions from these resources.
An other source dealing with the same issue:
http://blog.errorception.com/2012/12/catching-cross-domain-js-errors.html
Upvotes: 15