Created
August 8, 2016 18:32
-
-
Save scottwillson/06f17fc9cec902f52d085c02b83903a9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Promise.resolve().then(v => { | |
| console.log('everything is fine'); | |
| throw new Error(); | |
| }).then(e => { | |
| console.log('after error'); | |
| }); | |
| Promise.resolve().then(v => { | |
| console.log('everything is fine 2'); | |
| throw new Error(); | |
| }).then(e => { | |
| console.log('after error 2'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment