From 68194176f2c9fa1a666ceceacfdab6adac04f487 Mon Sep 17 00:00:00 2001 From: Ayush Jha Date: Fri, 31 May 2024 12:30:32 +0545 Subject: [PATCH] Use _strict so the error from backend is reported this is necessary because otherwise, auth-related issues are misinterpreted as backend failures. closes #4767 --- lib/backend-api/src/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend-api/src/query.rs b/lib/backend-api/src/query.rs index 8ac41cdc69c..0d777b04d3a 100644 --- a/lib/backend-api/src/query.rs +++ b/lib/backend-api/src/query.rs @@ -95,7 +95,7 @@ pub async fn get_signed_url_for_package_upload( version: Option<&str>, ) -> Result, anyhow::Error> { client - .run_graphql(types::GetSignedUrlForPackageUpload::build( + .run_graphql_strict(types::GetSignedUrlForPackageUpload::build( GetSignedUrlForPackageUploadVariables { expires_after_seconds, filename,