Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Qi <qzydustin@hotmail.com>2026-01-02 18:12:13 +0300
committerGitHub <noreply@github.com>2026-01-02 18:12:13 +0300
commitc881d1015a72fed333bea04fb28b74d1f2517074 (patch)
tree0ef895ef21290d68100329c4298e3f1afd7732b8 /web/assets/css/custom.min.css
parentc061337ce76f4b2dffc8a86340b0133538528576 (diff)
fix: handle GitHub API error responses in GetXrayVersions (#3609)
GitHub API returns JSON object instead of array when encountering errors (e.g., rate limit exceeded). This causes JSON unmarshal error: 'cannot unmarshal object into Go value of type []service.Release' Add HTTP status code check to handle error responses gracefully and return user-friendly error messages instead of JSON parsing errors. Fixes issue where getXrayVersion fails with unmarshal error when GitHub API rate limit is exceeded.
Diffstat (limited to 'web/assets/css/custom.min.css')
0 files changed, 0 insertions, 0 deletions