SidQin-cyber
dd800fd135
fix(feishu): check response.ok before calling response.json() in streaming card
...
When the Feishu API returns a non-2xx response (e.g. 500 internal error),
the body may be HTML or plain text instead of JSON, causing response.json()
to throw a JSON parse error. This obscures the real HTTP error.
Now checks response.ok and throws with the HTTP status before attempting
JSON parsing, in both the token acquisition and card creation paths.
Made-with: Cursor
2026-03-05 01:36:09 -08:00
..
2026-03-04 10:52:28 +01:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 00:20:44 -06:00
2026-03-05 01:36:09 -08:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 00:20:44 -06:00
2026-03-04 02:35:12 -05:00
2026-03-04 00:20:44 -06:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:12 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-01 23:57:06 +00:00
2026-03-04 00:20:44 -06:00
2026-03-04 00:20:44 -06:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 01:21:30 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00
2026-03-04 02:35:13 -05:00