spawn/packages
A 00863b0172
fix(digitalocean): handle 401 gracefully in testDoToken instead of crashing (#2722)
testDoToken() used asyncTryCatchIf(isNetworkError, ...) which only caught
network errors. A 401 HTTP response threw a regular Error that escaped the
guard, propagating to main().catch() and printing "Fatal: DigitalOcean API
error 401...". Changed to asyncTryCatch() to catch all errors, returning
false for invalid tokens so ensureDoToken() naturally falls through to
OAuth recovery.

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 15:14:30 -07:00
..
cli fix(digitalocean): handle 401 gracefully in testDoToken instead of crashing (#2722) 2026-03-17 15:14:30 -07:00
shared feat: add downloadFile to CloudRunner + local OpenClaw config merge (#2636) 2026-03-14 15:47:32 -07:00