Unverified Commit 1e9c3f86 authored by Denys Otrishko's avatar Denys Otrishko Committed by Anna Henningsen
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 538acead
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