Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing invalid phonenumbers is causing exceptions to be thrown #1189

Open
sentry-io bot opened this issue Aug 13, 2024 · 0 comments
Open

Allowing invalid phonenumbers is causing exceptions to be thrown #1189

sentry-io bot opened this issue Aug 13, 2024 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Aug 13, 2024

Sentry Issue: PROD-SWC-WEB-4EJ

ZodError: [
  {
    "code": "custom",
    "message": "Please enter a valid phone number",
    "path": []
  }
]
  File "swc-web/src/app/api/verified-swc-partner/user-action-opt-in/route.ts", line 39, in POST
    Sentry.captureException(phoneNumberValidationResult.error, {
...
(5 additional frame(s) were not displayed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant