Created
July 3, 2018 11:36
-
-
Save nicholaskajoh/cce109c26a99b2e48b35a7bc202b68dc to your computer and use it in GitHub Desktop.
Log stack trace for unhandled promise rejection warning.
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
process.on('unhandledRejection', r => console.log(r)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment