trigger.dev
trigger.dev copied to clipboard
[TRI-4331] We don't store/show thrown error `cause`
When tasks throw, they don't show error causes.
throw new Error("A more specific error occurred", { cause: originalError });
The cause doesn't get stored and doesn't come through to the dashboard.
hey @matt-aitken i want to work on this issue