Skip to content

Commit

Permalink
Merge pull request #1705 from ConnorJC3/fix-ci-2
Browse files Browse the repository at this point in the history
Remove error_handler breaking CI
  • Loading branch information
k8s-ci-robot committed Aug 3, 2023
2 parents dbe9c18 + 9823af6 commit 4cb60ce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hack/e2e/metrics/metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ metrics_collector() {
upload_metrics
}

error_handler() {
printf "Error occurred in script: %s, at line: %s. Command: %s. Error: %s\n" "$1" "$2" "$BASH_COMMAND" "$3" >&2
exit 1
}
trap 'error_handler ${LINENO} $? "$BASH_COMMAND"' ERR

log() {
printf "%s [INFO] - %s\n" "$(date +"%Y-%m-%d %H:%M:%S")" "${*}" >&2
}
Expand Down

0 comments on commit 4cb60ce

Please sign in to comment.