bigsong
84a79b6807
fix: log response body when parsed upstream error message is empty
...
When an upstream error response parses as valid JSON but yields no usable
error message (e.g. an aggregator gateway returning {"error":{"message":""}}),
RelayErrorHandler previously produced a bare "bad response status code N"
error with no trace of the original body, making the failure undiagnosable.
Log the body preview in that case, mirroring the existing behavior for
unparseable bodies.
2026-07-24 14:10:32 +08:00
..
2026-06-27 17:01:59 +08:00
2026-07-20 16:48:43 +08:00
2026-07-18 12:50:02 +08:00
2025-06-07 12:26:23 +08:00
2026-07-20 16:48:43 +08:00
2026-07-20 16:48:43 +08:00
2026-07-20 16:48:43 +08:00
2026-07-20 16:48:43 +08:00
2026-07-20 16:48:43 +08:00
2026-06-18 16:44:12 +08:00
2026-07-11 20:44:12 +08:00
2026-07-11 13:14:22 +08:00
2026-06-05 11:30:29 +08:00
2026-02-22 23:30:02 +08:00
2026-06-05 11:30:29 +08:00
2026-06-18 20:29:24 +08:00
2026-05-25 23:10:30 +08:00
2026-07-18 13:04:16 +08:00
2026-07-20 18:11:22 +08:00
2026-07-20 18:11:22 +08:00
2026-07-18 13:04:16 +08:00
2026-06-12 23:45:15 +08:00
2026-06-19 16:07:32 +08:00
2026-07-11 20:44:12 +08:00
2026-07-11 20:44:12 +08:00
2026-07-06 14:52:01 +08:00
2025-10-11 15:30:09 +08:00
2026-05-25 23:10:30 +08:00
2026-07-24 14:10:32 +08:00
2026-05-19 12:11:24 +08:00
2026-05-19 12:11:24 +08:00
2026-04-09 22:44:53 +08:00
2026-07-20 18:21:24 +08:00
2026-07-20 18:11:22 +08:00
2026-05-12 21:53:54 +08:00
2026-04-02 16:40:45 +08:00
2026-07-07 12:20:07 +08:00
2026-05-19 12:11:24 +08:00
2025-10-11 15:30:09 +08:00
2026-06-28 14:25:47 +08:00
2026-06-28 14:25:47 +08:00
2026-07-06 14:52:01 +08:00
2026-07-06 14:52:01 +08:00
2026-07-11 13:14:22 +08:00
2026-07-20 16:48:43 +08:00
2026-06-18 17:56:45 +08:00
2026-07-11 20:44:12 +08:00
2026-07-20 16:48:43 +08:00
2026-07-20 16:48:43 +08:00
2025-10-11 15:30:09 +08:00
2025-08-15 16:54:26 +08:00
2026-02-03 17:40:43 +08:00
2026-06-24 19:16:56 +08:00
2026-06-24 17:16:21 +08:00
2026-06-24 17:16:21 +08:00
2026-07-20 22:03:13 +08:00
2026-07-20 22:03:13 +08:00
2026-07-20 22:03:13 +08:00
2026-07-20 22:03:13 +08:00
2025-10-11 15:30:09 +08:00
2026-07-11 22:18:26 +08:00
2026-07-11 22:18:26 +08:00
2026-06-17 16:47:52 +08:00
2026-07-11 22:18:26 +08:00
2026-07-07 12:20:07 +08:00
2025-12-02 21:38:58 +08:00
2025-12-02 21:34:39 +08:00
2026-07-07 12:20:07 +08:00
2025-12-02 21:34:39 +08:00
2026-07-06 14:52:01 +08:00
2026-02-23 22:02:59 +08:00
2026-05-24 16:37:43 +08:00
2026-07-06 14:52:01 +08:00