Last active
March 10, 2019 00:37
-
-
Save kyranet/43668e9c593a77503235bfbe82a1d031 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
// The gist has been updated to be shortened to the shortest reproducible code, | |
// the old code is still available in this gist's history. However, the same bug | |
// is reproducible with this very small sample. | |
(() => { | |
async function test() { | |
console.log(new Error('Test 1')); | |
await Promise.resolve(null); | |
console.log(new Error('Test 2')); | |
} | |
test(); | |
})(); |
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
Error: Test 1 | |
at test (<anonymous>:3:14) | |
at <anonymous>:8:1 | |
at <anonymous>:9:3 | |
Error: Test 2 | |
at test (<anonymous>:5:14) |
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
Error: Test 1 | |
at test (<anonymous>:3:14) | |
at <anonymous>:8:1 | |
at <anonymous>:9:3 | |
Error: Test 2 | |
at test (<anonymous>:5:14) | |
at <anonymous>:8:1 | |
at <anonymous>:9:3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment