Skip to content

Commit

Permalink
fix: Fix test, extract reponse on client error
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin committed Sep 10, 2024
1 parent 387e135 commit 6c141b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/cli_util.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ where

match resp \{
Ok(r) => Ok(r),
Err(ApiError::Failure(_, _, r)) => Ok(r.into_inner()),
Err(ApiError::Failure(_, _, r)) => Ok(r),
Err(e) => return Err(e.into()),
}
}

0 comments on commit 6c141b5

Please sign in to comment.