Commit 2f558ee
fix: add raise_for_status to CircleCI workflow API call (#1083)
Add missing `raise_for_status()` call after the CircleCI
`/workflow/{id}/job` API request in `get_circleci_artifacts`. Without
it, an HTTP error (e.g. 500) causes `KeyError: 'items'` instead of a
clear HTTP error.
See failed CircleCI pipeline
[#178886](https://app.circleci.com/pipelines/github/bioconda/bioconda-recipes/178886)
(`build_and_upload-osx-arm64`, `build_and_upload-linux-aarch64`).
---------
Co-authored-by: Elmar Pruesse <epruesse@users.noreply.github.com>1 parent af1ac9c commit 2f558ee
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
0 commit comments