diff options
author | Benjamin Gruenbaum <benji@peer5.com> | 2017-07-16 18:12:57 +0300 |
---|---|---|
committer | Benjamin Gruenbaum <benji@peer5.com> | 2017-07-19 12:20:09 +0300 |
commit | 030a0285d88a03b0051ada736aabdb490f6479c9 (patch) | |
tree | 7b1f01c9a7bc0faff263d1e01ee18b7f87a15ca1 /test/parallel/test-zlib-destroy-pipe.js | |
parent | 0e5283b7eda5b22d73c21620a02ac5337f9de9f1 (diff) | |
download | node-new-030a0285d88a03b0051ada736aabdb490f6479c9.tar.gz |
repl: don't terminate on null thrown
Previous behavior was to assume an error is a proper error in the
repl module. A check was added to not terminate the process on thrown
repl errors that are `null` or `undefined`.
PR-URL: https://github.com/nodejs/node/pull/14306
Fixes: https://github.com/nodejs/node/issues/12373
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com
Diffstat (limited to 'test/parallel/test-zlib-destroy-pipe.js')
0 files changed, 0 insertions, 0 deletions