File tree 1 file changed +4
-4
lines changed
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:
114
114
* Rejected after resolve.
115
115
* Resolved after reject.
116
116
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
118
118
constructor. Otherwise such mistakes are silently swallowed due to being in a
119
119
dead zone.
120
120
@@ -207,9 +207,9 @@ exception bubbles all the way back to the event loop. By default, Node.js
207
207
handles such exceptions by printing the stack trace to ` stderr ` and exiting
208
208
with code 1, overriding any previously set [ ` process.exitCode ` ] [ ] .
209
209
Adding 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
213
213
exit with 0.
214
214
215
215
The listener function is called with the ` Error ` object passed as the only
You can’t perform that action at this time.
0 commit comments