fixed
Improve Error Handling for Invalid Contact Info
6 days ago by Denny Liang
🔒 Improved Error Handling for Invalid Contact Info (Twilio & Email)
- Gracefully handle incoming texts from unknown phone numbers, avoiding crashes or untracked messages.
- Catch and log Twilio error 21211 when attempting to send SMS to an invalid or malformed candidate number.
- Handle
InactiveRecipientsError
when sending emails to candidates with deactivated or unreachable email addresses.
These changes improve platform stability and ensure failed communication attempts are safely captured and reported.