Created
August 22, 2018 22:27
-
-
Save vudngo/a032633381d2a0d85a44d30fc51d6319 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var error = new Error("The error message"); | |
error.stack = "Error: The error message\n at HTMLButtonElement.<anonymous> (http://localhost:8080/dist/main.js:22:39141)\n at HTMLButtonElement.o (http://localhost:8080/dist/main.js:22:18397)"; | |
console.log(error.stack); | |
Raven.captureException(error); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment