Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: return proper error if sms rate limit is exceeded (supabase#1647)
## What kind of change does this PR introduce? * Fixes supabase#1629 * Previously, rate limit errors were being returned as an internal server error, which is incorrect. This PR checks for the underlying error type returned and ensures that rate limit errors are surfaced appropriately. ## What is the current behavior? Please link any relevant issues here. ## What is the new behavior? Feel free to include screenshots if it includes visual changes. ## Additional context Add any other context or screenshots.
- Loading branch information