diff --git a/.github/actions/create_mrt_target/action.yml b/.github/actions/create_mrt_target/action.yml index 0031c29109..87c31b6161 100644 --- a/.github/actions/create_mrt_target/action.yml +++ b/.github/actions/create_mrt_target/action.yml @@ -52,7 +52,9 @@ runs: echo "status=$http_status" >> $GITHUB_OUTPUT if [ "$http_status" -ne 201 ]; then + response_body=$(echo "$response" | sed -e 's/HTTPSTATUS\:.*//g') echo "Request failed with status code $http_status" + echo "Response body: $response_body" exit 1 fi