Use _strict so the error from backend is reported

this is necessary because otherwise, auth-related issues are
misinterpreted as backend failures.

closes #4767
This commit is contained in:
Ayush Jha
2024-05-31 12:30:32 +05:45
committed by आयुष झा (Ayush Jha)
parent 8175f5053d
commit 75258cda33

View File

@@ -95,7 +95,7 @@ pub async fn get_signed_url_for_package_upload(
version: Option<&str>,
) -> Result<Option<SignedUrl>, anyhow::Error> {
client
.run_graphql(types::GetSignedUrlForPackageUpload::build(
.run_graphql_strict(types::GetSignedUrlForPackageUpload::build(
GetSignedUrlForPackageUploadVariables {
expires_after_seconds,
filename,