GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — When worker thread throw an error, main thread recieves exit code 0 instead of 1 · Issue #21707 · nodejs/node Closed Closed Copy link Labels good first issueIssues that are suitable for first-time contributors.workerIssues and PRs related to the worker_threads module and Worker API. Description
Reproduction codeconst { Worker, isMainThread } = require('worker_threads'); if (isMainThread) { const worker = new Worker(__filename); worker.on('error', err => { console.log(`Worker threw an error: ${err.message}`); }); worker.on('exit', code => { console.log(`Worker finished with exit code ${code}`); }); } else { throw new Error('error!'); } Expected outputActual outputActivity
MetadataMetadataAssigneesLabelsgood first issueIssues that are suitable for first-time contributors.workerIssues and PRs related to the worker_threads module and Worker API. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |