mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-03 16:04:30 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -581,8 +581,8 @@ function find_custom_exit_code() {
|
||||
if grep -i -q \
|
||||
-e "Failed to connect to 127.0.0.1" \
|
||||
-e "Failed to open TCP connection to" \
|
||||
-e "connection reset by peer" "$trace_file"; then
|
||||
|
||||
-e "connection reset by peer" \
|
||||
-e "OpenSSL::SSL::SSLError" "$trace_file"; then
|
||||
echoerr "Detected network connection error. Changing exit code to 110."
|
||||
exit_code=110
|
||||
alert_job_in_slack "$exit_code" "Network connection error"
|
||||
|
Reference in New Issue
Block a user