Skip to content

Instantly share code, notes, and snippets.

@ithayer
Last active December 15, 2015 14:49
Show Gist options
  • Save ithayer/5277369 to your computer and use it in GitHub Desktop.
Save ithayer/5277369 to your computer and use it in GitHub Desktop.
http://example.com/js/main__V0123456789abcdef__.js
window.onerror = function(message, url, linenumber) {
sendToServer({message: message, line: linenumber, url: url});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment