Files
node/test/fixtures
Rich Trott 83d0404971 repl: do not swallow errors in nested REPLs
For tab completion, a REPLServer instance will sometimes create another
REPLServer instance. If a callback is sent to the `.complete()` function
and that callback throws an error, it will be swallowed by the nested
REPLs domain. Re-throw the error so that processes don't silently exit
without any indication of an error (including a status code).

Fixes: https://github.com/nodejs/node/issues/21586

PR-URL: https://github.com/nodejs/node/pull/23004
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-10-02 13:07:18 -07:00
..
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
…
…
…
…
2014-08-29 00:36:48 +04:00
…
…
2017-05-19 15:22:44 -04:00
2017-05-19 15:22:44 -04:00
…
2018-06-06 11:10:19 -07:00
2018-01-16 23:44:27 +01:00
…
2013-10-16 09:43:19 -07:00
2013-10-16 09:43:19 -07:00
2013-10-16 09:43:19 -07:00
2018-06-04 08:18:07 +02:00
2018-06-04 08:18:07 +02:00
2018-01-17 14:33:20 +01:00
2017-06-06 23:33:56 -07:00
2012-12-13 17:00:28 -08:00
…