-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Description
https://nodejs.org/api/process.html#process_event_unhandledrejection
somePromise.then((res) => {
return reportToUser(JSON.parse(res)); // note the typo
}); // no `.catch` or `.then`
Someone made off with the typo. When this is put back together I'd suggest updating to something like:
// note the typo (`pasre`)
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.