Skip to content

Commit e0c2b57

Browse files
authored
Enhance curl command with error handling
1 parent 7f89dfa commit e0c2b57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/container_integration_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
# We run curl INSIDE the container so the source IP is 127.0.0.1
173173
for key in "${!settings[@]}"; do
174174
echo "Setting $key..."
175-
docker exec dev_dataverse curl -s -X PUT -d "${settings[$key]}" "http://localhost:8080/api/admin/settings/$key"
175+
docker exec dev_dataverse curl --fail-with-body -sS -X PUT -d "${settings[$key]}" "http://localhost:8080/api/admin/settings/$key"
176176
echo ""
177177
done
178178

0 commit comments

Comments
 (0)