Summary
When network connectivity is lost, the gateway crashes instead of gracefully falling back to local/alternative providers.
Environment
- OpenClaw version: Latest (npm install)
- OS: macOS (Darwin 24.6.0 arm64)
- Node: v23.11.0
Steps to Reproduce
- Configure fallback provider (e.g., local Ollama)
- Start gateway with Slack plugin enabled
- Disconnect network (e.g., disable Wi-Fi)
- Observe gateway crash
Expected Behavior
Gateway should gracefully fall back to configured fallback provider when primary provider is unreachable.
Actual Behavior
Slack plugin throws an unhandled promise rejection that kills the entire gateway process.
Relevant Logs
UnhandledPromiseRejection from Slack plugin when network drops
(Full stack trace available on request)
Suggested Fix
Wrap network-dependent operations in try/catch with graceful fallback behavior. Consider:
- Retry with exponential backoff
- Fall back to configured secondary provider
- Queue messages for retry when connectivity restored
Workaround
None currently — gateway must be manually restarted after network restoration.
Summary
When network connectivity is lost, the gateway crashes instead of gracefully falling back to local/alternative providers.
Environment
Steps to Reproduce
Expected Behavior
Gateway should gracefully fall back to configured fallback provider when primary provider is unreachable.
Actual Behavior
Slack plugin throws an unhandled promise rejection that kills the entire gateway process.
Relevant Logs
Suggested Fix
Wrap network-dependent operations in try/catch with graceful fallback behavior. Consider:
Workaround
None currently — gateway must be manually restarted after network restoration.