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

chore: FileValidation error vs Server error #4481

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

dsamojlenko
Copy link
Member

Summary | Résumé

Fixes #4478

A previous fix (#4374) caused all errors from the serverAction to be caught as FileValidation errors.
This will specifically catch those and render appropriately, and let everything else fall through to a generic Server error.

Copy link
Contributor

@timarney
Copy link
Member

Tested on preview env.

Working as expected.

Screenshot 2024-10-28 at 11 27 28 AM

@dsamojlenko dsamojlenko merged commit 6cf592d into main Oct 28, 2024
13 checks passed
@dsamojlenko dsamojlenko deleted the bugfix/handle_fileValdiationResult_error branch October 28, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File attachment error messaging when submitting a form past closing date
2 participants