Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
More precise information about JS errors in 3rd party code - possible? #22
Comments
|
Apparently Yet there must be a way to do this because Rollbar manages to somehow get file and line information: What's going on above:
Therefore, Rollbar managed to catch the error from the 3rd party script. |
|
Interesting, any idea how Rollbar does this? Seems like a useful addition. |
|
They've shared :) |
|
@dandv try to test this one after hosting your webpage on a server. It gives the script error when you runs the webpage from filesystem as browser does not allow your script to read the actual error message. |
|
@dandv you can add a crossorigin attribute in src tag. You'll be to be able to gets the exception. |

I have an error in a 3rd party library, that looks like this in Chrome:
In Loggly it looks like this:
Not exactly useful.
Is this possible? LogEntries doesn't seem to be able to offer better result either.