Skip to content

Commit

Permalink
[Fix] Prompt Studio: Show error response from BE (#1080)
Browse files Browse the repository at this point in the history
Error message display from BE
  • Loading branch information
jagadeeswaran-zipstack authored Jan 20, 2025
1 parent 02a1ac2 commit 0d7f930
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ function ManageDocsModal({
setIsUploading(false);
setAlertDetails({
type: "error",
content: "Failed to upload",
content: info?.file?.response?.errors[0]?.detail || "Failed to Upload",
});
}
};
Expand Down

0 comments on commit 0d7f930

Please sign in to comment.