Skip to content

Commit 64922f0

Browse files
Show error if fetching ABL fails
1 parent 9bdd828 commit 64922f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concourse/update-content/script.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ archive_version="$(jq -r '.REACT_APP_ARCHIVE' "src/config.archive-url.json")"
1919
search="consumer=REX&code_version=$archive_version"
2020
abl_url="https://corgi.ce.openstax.org/api/abl/?$search"
2121

22-
data="$(curl -sL --fail "$abl_url")"
22+
data="$(curl -sL --fail --show-error "$abl_url")"
2323
configured_books="$(cat src/config.books.json)"
2424

2525
# If there is an error, print it and exit with status 1

0 commit comments

Comments
 (0)