Skip to content

Instantly share code, notes, and snippets.

@rbk
Created June 19, 2021 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbk/c54eedefa7e1620a41cb4ab5969a8534 to your computer and use it in GitHub Desktop.
Save rbk/c54eedefa7e1620a41cb4ab5969a8534 to your computer and use it in GitHub Desktop.
window.onerror = function(errorMessage, filePath, lineNumber, offset, stackObject) {
console.log(stackObject)
console.log({
'errorMessage' : errorMessage,
'filePath' : filePath,
'lineNumber' : lineNumber,
'offset' : offset,
'stackObject' : stackObject,
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment