fix: handle Ctrl+C in restart_server without traceback
CI / test (push) Successful in 28s

This commit is contained in:
strsv committed 2026-11-09 08:29:45 +03:00
1 parent be4fbf6864
commit 1b7830aa9b
9 files changed
+76 -19

No files matched your search

+4 -4
View File
@@ -65,7 +65,7 @@
"hltb_matched": 98,
"unnamed_tags": 0,
"owned": 1620, "shared": 411,
"version": "1.2.0",
"version": "1.2.1",
"steam_api": true
}
```
@@ -439,9 +439,9 @@ DELETE → `{"deleted": true}`.
фолбэком на Gitea API. `?refresh=1` сбрасывает часовой кэш.
```json
{"current": "1.2.0", "latest": "v1.2.0", "update_available": false,
"url": "https://gitea.strsv.ru/strsv/SteamBase/src/tag/v1.2.0",
"checked_at": "2026-11-09T00:00:00+00:00", "tags": ["v1.2.0"]}
{"current": "1.2.1", "latest": "v1.2.1", "update_available": false,
"url": "https://gitea.strsv.ru/strsv/SteamBase/src/tag/v1.2.1",
"checked_at": "2026-11-09T00:00:00+00:00", "tags": ["v1.2.1"]}
```
Если тегов нет: `latest: null`, `update_available: false`. Ошибка сети → 502.