Skip to content

Commit

Permalink
fixup! doc: add unhandled promise rejection survey
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
mmarchini and ljharb authored May 6, 2020
1 parent 68a2e55 commit f6d1a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surveys/promise-rejections/survey.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When consuming Promises, async functions or thenables, which of the options belo
- [ ] `.catch()`
- [ ] `try / catch` wrapping an `await` operation
- [ ] Ignore the rejection
- [ ] Not writing Promise-based code
- [ ] Not writing Promise-based code or using Promise-based libraries

## Do you use `process.on('unhandledRejection')` as a global handler for unhandled rejections?

Expand Down

0 comments on commit f6d1a3e

Please sign in to comment.