File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -151,10 +151,9 @@ REPL session.
151
151
152
152
This use of the [ ` domain ` ] [ ] module in the REPL has these side effects:
153
153
154
- * Uncaught exceptions only emit the [ ` 'uncaughtException' ` ] [ ] event if the
155
- ` repl ` is used as standalone program. If the ` repl ` is included anywhere in
156
- another application, adding a listener for this event will throw an
157
- [ ` ERR_INVALID_REPL_INPUT ` ] [ ] exception.
154
+ * Uncaught exceptions only emit the [ ` 'uncaughtException' ` ] [ ] event in the
155
+ standalone REPL. Adding a listener for this event in a REPL within
156
+ another Node.js program throws [ ` ERR_INVALID_REPL_INPUT ` ] [ ] .
158
157
* Trying to use [ ` process.setUncaughtExceptionCaptureCallback() ` ] [ ] throws
159
158
an [ ` ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE ` ] [ ] error.
160
159
You can’t perform that action at this time.
0 commit comments