Skip to content

Commit e4ddbfc

Browse files
Handle curl failures
1 parent 4a40f29 commit e4ddbfc

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Format:
4848
## [Unreleased]
4949

5050
### Fixed
51-
- Retry on curl exit code 56 (failure receiving data from peer) while waiting for docassemble server to start up. See [#1044](https://github.com/SuffolkLITLab/ALKiln/issues/1044).
51+
- Retry on curl exit code 56 (failure receiving data from peer) while waiting for docassemble server to start up. Added set +e to prevent GitHub Actions from killing the acript on curl failures, retries on exit code 56 and exits wuth actual curl exit code on any unexpected error See [#1044](https://github.com/SuffolkLITLab/ALKiln/issues/1044).
5252

5353

5454
## [5.15.4] - 2025-11-29

‎action_for_github_server/action.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ runs:
198198
- name: "💡 ALK0012 INFO: Waiting for server to start"
199199
shell: bash
200200
run: |
201+
set +e
201202
log="💡 ALK0012 INFO: Waiting for server to start"
202203
echo -e "\n$log" >> "${{ env.DEBUG_LOGS_PATH }}"
203204
@@ -224,6 +225,8 @@ runs:
224225
225226
if [[ $status -eq 56 ]]; then
226227
response="000"
228+
else
229+
exit $status
227230
fi
228231
229232
log4="💡 ALK0015 INFO: Response is $response (curl exit code: $status)"

0 commit comments

Comments
 (0)