mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 01:11:18 +00:00
Add logDebug() function gated on SPAWN_DEBUG=1 for surfacing error details without cluttering normal output. Refactor 6 silent/overly-broad catch blocks: - agent-tarball.ts: split 70-line try into fetch+parse and remote exec - update-check.ts: remove outer try, wrap only performAutoUpdate - history.ts: add warnings to swallowed tryCatch results - oauth.ts: warn when API key save fails - orchestrate.ts: warn on checkAccountReady and preProvision failures Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||