Skip to content

Enhance error handling in SubmitEvidenceModal component #1718

Closed
@coderabbitai

Description

@coderabbitai

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions