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

Enhance error handling in SubmitEvidenceModal component #1718

Closed
coderabbitai bot opened this issue Oct 16, 2024 · 0 comments · Fixed by #1724
Closed

Enhance error handling in SubmitEvidenceModal component #1718

coderabbitai bot opened this issue Oct 16, 2024 · 0 comments · Fixed by #1724
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 16, 2024

In the SubmitEvidenceModal component, the catch block in the submitEvidence function does not capture the error object or provide feedback to the user. Capturing the error allows for better debugging, and notifying the user improves the user experience.

PR: #1654
Comment: #1654 (comment)
Requested by @jaybuidl.

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 a pull request may close this issue.

1 participant