diff options
| author | Zhenyu Qi <qzydustin@hotmail.com> | 2026-01-02 18:12:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-02 18:12:13 +0300 |
| commit | c881d1015a72fed333bea04fb28b74d1f2517074 (patch) | |
| tree | 0ef895ef21290d68100329c4298e3f1afd7732b8 /web/assets/css/custom.min.css | |
| parent | c061337ce76f4b2dffc8a86340b0133538528576 (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
