Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ const DeployHistory = ({
notification.success({ message: get(res, "message") });
}
} catch (error) {
notification.error({ message: get(error, "reason") });
const status = get(error, "response.status");
let errorMessage = get(error, "reason") ?? '';
if (status === 403) {
errorMessage = "You do not have permission to perform the 'Verify' action";
}
notification.error({ message: errorMessage || 'An unexpected error occurred during verification.' });
}
};

Expand Down
Loading