Unverified Commit 25fef3d8 authored by Denys Otrishko's avatar Denys Otrishko Committed by Michaël Zasso
Browse files

workers: fix invalid exit code in parent upon uncaught exception

Now worker.on('exit') reports correct exit code (1) if worker has exited
with uncaught exception.

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

PR-URL: https://github.com/nodejs/node/pull/21713


Reviewed-By: default avatarGus Caplan <me@gus.host>
Reviewed-By: default avatarYuta Hiroto <hello@hiroppy.me>
Reviewed-By: default avatarWeijia Wang <starkwang@126.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 122ae24f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment