Files
openclaw/extensions/sms
lsr911 6e98477ee4 fix(sms): guard Twilio JSON.parse against malformed API response bodies (#97999)
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>
2026-06-30 18:15:08 -07:00
..
2026-06-04 21:02:07 -04:00

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.