Skip to content

Instantly share code, notes, and snippets.

@wayferer
Created February 3, 2014 21:16
Show Gist options
  • Save wayferer/8792577 to your computer and use it in GitHub Desktop.
Save wayferer/8792577 to your computer and use it in GitHub Desktop.
catch window errors
window.onerror = function(a,b,c) {
alert(a + "; " + b + "; " + c);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment