diff --git a/download-latest.sh b/download-latest.sh index e869bf53d..490039249 100644 --- a/download-latest.sh +++ b/download-latest.sh @@ -229,7 +229,7 @@ esac # Fetch the Meilisearch binary link="https://github.com/meilisearch/meilisearch/releases/download/$latest/$release_file" -curl -OL "$link" +curl --fail-with-body -OL "$link" if [ $? -ne 0 ]; then fetch_release_failure_usage exit 1