Created
January 23, 2018 00:33
-
-
Save lubien/2e6e26d4e3ade3997347a3f5ecaae0bf 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
Promise.reject('some error') | |
.catch(err => console.log(1)) // runs | |
.catch(err => console.log(2)) // never runs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment