Skip to content

Commit

Permalink
Use _strict so the error from backend is reported
Browse files Browse the repository at this point in the history
this is necessary because otherwise, auth-related issues are
misinterpreted as backend failures.

closes #4767
  • Loading branch information
ayys committed May 31, 2024
1 parent 8175f50 commit 75258cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backend-api/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 75258cd

Please sign in to comment.