File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ The `'multipleResolves'` event is emitted whenever a `Promise` has been either:
114114* Rejected after resolve.
115115* Resolved after reject.
116116
117- This is useful for tracking errors in your application while using the promise
117+ This is useful for tracking errors in an application while using the promise
118118constructor. Otherwise such mistakes are silently swallowed due to being in a
119119dead zone.
120120
@@ -207,9 +207,9 @@ exception bubbles all the way back to the event loop. By default, Node.js
207207handles such exceptions by printing the stack trace to ` stderr ` and exiting
208208with code 1, overriding any previously set [ ` process.exitCode ` ] [ ] .
209209Adding a handler for the ` 'uncaughtException' ` event overrides this default
210- behavior. You may also change the [ ` process.exitCode ` ] [ ] in
211- ` 'uncaughtException' ` handler which will result in process exiting with
212- provided exit code, otherwise in the presence of such handler the process will
210+ behavior. Alternatively, change the [ ` process.exitCode ` ] [ ] in the
211+ ` 'uncaughtException' ` handler which will result in the process exiting with the
212+ provided exit code. Otherwise, in the presence of such handler the process will
213213exit with 0.
214214
215215The listener function is called with the ` Error ` object passed as the only
You can’t perform that action at this time.
0 commit comments