[PR #17232] [MERGED] service.bat: make curl fail in case of errors #486

Closed
opened 2026-09-03 11:13:11 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/zapret-discord-youtube/pull/17232
Author: @ekungurov
Created: 9/2/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @Flowseal

Base: main ← Head: update-service-bat-4


📝 Commits (1)

  • fa55142 service.bat: make curl fail in case of errors

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 service.bat (+3 -3)

📄 Description

Добавлен -f / --fail для вызова curl

Без опции -f curl заменяет файл на HTTP body, даже если получен HTTP status code 4xx, 5xx
С опцией -f не заменяет содержимое файла при получении ошибок от веб-сервера

Данная проблема обнаружена @Dmitriy224 с помощью ИИ: https://github.com/Flowseal/zapret-discord-youtube/issues/17212


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Flowseal/zapret-discord-youtube/pull/17232 **Author:** [@ekungurov](https://github.com/ekungurov) **Created:** 9/2/2026 **Status:** ✅ Merged **Merged:** 9/20/2026 **Merged by:** [@Flowseal](https://github.com/Flowseal) **Base:** `main` ← **Head:** `update-service-bat-4` --- ### 📝 Commits (1) - [`fa55142`](https://github.com/Flowseal/zapret-discord-youtube/commit/fa5514293055cd59e676458a68b881f044c505a3) service.bat: make curl fail in case of errors ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `service.bat` (+3 -3) </details> ### 📄 Description Добавлен -f / --fail для вызова curl Без опции -f curl заменяет файл на HTTP body, даже если получен HTTP status code 4xx, 5xx С опцией -f не заменяет содержимое файла при получении ошибок от веб-сервера Данная проблема обнаружена @Dmitriy224 с помощью ИИ: https://github.com/Flowseal/zapret-discord-youtube/issues/17212 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror-bot added the pull-request label 2026-09-03 11:13:11 +03:00
mirror-bot changed title from [PR #17232] service.bat: make curl fail in case of errors to [PR #17232] [MERGED] service.bat: make curl fail in case of errors 2026-09-20 13:27:02 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Utilities/zapret-discord-youtube#486