mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 21:28:21 +00:00
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:
committed by
आयुष झा (Ayush Jha)
parent
8175f5053d
commit
75258cda33
@@ -95,7 +95,7 @@ pub async fn get_signed_url_for_package_upload(
|
|||||||
version: Option<&str>,
|
version: Option<&str>,
|
||||||
) -> Result<Option<SignedUrl>, anyhow::Error> {
|
) -> Result<Option<SignedUrl>, anyhow::Error> {
|
||||||
client
|
client
|
||||||
.run_graphql(types::GetSignedUrlForPackageUpload::build(
|
.run_graphql_strict(types::GetSignedUrlForPackageUpload::build(
|
||||||
GetSignedUrlForPackageUploadVariables {
|
GetSignedUrlForPackageUploadVariables {
|
||||||
expires_after_seconds,
|
expires_after_seconds,
|
||||||
filename,
|
filename,
|
||||||
|
|||||||
Reference in New Issue
Block a user