Consider the following scenario:
new Promise((resolve, reject) => req.on('close', resolve).on('error', reject))
Where the error is ignored since the promise is already resolved through close.
See, https://github.com/nodejs/node/pull/15270/files#r137951611
Consider the following scenario:
Where the error is ignored since the promise is already resolved through
close.See, https://github.com/nodejs/node/pull/15270/files#r137951611