Skip to content

Commit

Permalink
feat: show failed uri to the user in case requested failed and uri is…
Browse files Browse the repository at this point in the history
… valid
  • Loading branch information
kemuru committed Apr 24, 2024
1 parent f270cc4 commit 5c84095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/dataloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ const evidenceFetcher = async ([subgraph, disputeId]) => {
} catch (requestError) {
// URI is correct, but the request failed
return {
error: requestError.message,
error: `${requestError.message}. Requested URI: ${uri}`,
submittedAt: evidenceItem.creationTime,
submittedBy: evidenceItem.sender,
};
Expand Down

0 comments on commit 5c84095

Please sign in to comment.