From 39fe16780280e6f73fddaa85c8cc5ba15ff77a8c Mon Sep 17 00:00:00 2001 From: Matheus Marchini Date: Wed, 6 May 2020 11:57:21 -0700 Subject: [PATCH] fixup! doc: add unhandled promise rejection survey Co-authored-by: Jordan Harband --- surveys/promise-rejections/survey.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surveys/promise-rejections/survey.md b/surveys/promise-rejections/survey.md index 2296d4c7..cf82dea0 100644 --- a/surveys/promise-rejections/survey.md +++ b/surveys/promise-rejections/survey.md @@ -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?