mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
When the guard returns false, both functions re-threw the raw caught value (e) instead of the normalized Error (err). If a non-Error value was thrown (string, number), downstream handlers received inconsistent types instead of always getting Error instances. Changed throw e → throw err in both functions. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||