mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-01 12:33:36 +00:00
Wrap JSON.parse in parseTwilioListPayload and retrieveTwilioMessagingService with try/catch to prevent a malformed Twilio API response from throwing an unhandled SyntaxError. - parseTwilioListPayload: return [] on parse failure (fail-safe for phone number listing) - retrieveTwilioMessagingService: throw descriptive Error on parse failure Note: parseTwilioApiError and parseTwilioSuccessPayload already had try/catch guards (lines 85-97, 104-121). Signed-off-by: lsr911 <liao.shirong@xydigit.com> Co-authored-by: Claude <noreply@anthropic.com>
SMS OpenClaw channel
Official OpenClaw channel plugin for SMS.
Install
openclaw plugins install @openclaw/sms
Docs
See docs/channels/sms.md in the OpenClaw repository, or the published docs at https://docs.openclaw.ai/channels/sms.