Skip to content

Conversation

@190n
Copy link
Contributor

@190n 190n commented May 7, 2025

What does this PR do?

This makes it so node:worker_threads Workers emit an error event with the exact error object that was thrown, instead of a stringified version like Web Workers.

How did you verify your code works?

Added Node test and extended our existing Worker tests

@robobun
Copy link
Collaborator

robobun commented May 7, 2025

Updated 2:34 PM PT - May 12th, 2025

@190n, your commit 3e8dd5d has 1 failures in Build #16514:


🧪   To try this PR locally:

bunx bun-pr 19509

That installs a local version of the PR into your bun-19509 executable, so you can run:

bun-19509 --bun

@190n 190n force-pushed the ben/worker-error-event branch 2 times, most recently from ae22d4f to 2a72d4d Compare May 9, 2025 01:31
@190n 190n force-pushed the ben/worker-error-event branch from 2a72d4d to 7ad8381 Compare May 9, 2025 18:00
@190n 190n marked this pull request as ready for review May 9, 2025 18:01
@190n 190n requested review from a team and dylan-conway and removed request for a team May 9, 2025 21:32
dylan-conway
dylan-conway previously approved these changes May 10, 2025
@190n 190n requested review from a team, cirospaciari and nektro and removed request for a team and cirospaciari May 10, 2025 00:31
cirospaciari
cirospaciari previously approved these changes May 11, 2025
@Jarred-Sumner
Copy link
Collaborator

There's a merge conflict but it LGTM

@190n 190n dismissed stale reviews from cirospaciari and dylan-conway via 3e8dd5d May 12, 2025 20:51
@cirospaciari cirospaciari self-requested a review May 12, 2025 20:52
@Jarred-Sumner Jarred-Sumner merged commit a182c31 into main May 12, 2025
31 of 45 checks passed
@Jarred-Sumner Jarred-Sumner deleted the ben/worker-error-event branch May 12, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants