d 🔹
e8572b9d0c
fix(jina): log transient failures at WARNING without traceback ( #2484 ) ( #2485 )
...
The exception handler in JinaClient.crawl used logger.exception, which
emits an ERROR-level record with the full httpx/httpcore/anyio traceback
for every transient network failure (timeout, connection refused). Other
search/crawl providers in the project log the same class of recoverable
failures as a single line. One offline/slow-network session could produce
dozens of multi-frame ERROR stack traces, drowning out real problems.
Switch to logger.warning with a concise message that includes the
exception type and its str, matching the style used elsewhere for
recoverable transient failures (aio_sandbox, ddg, etc.). The exception
type now also surfaces into the returned "Error: ..." string so callers
retain diagnostic signal.
Adds a regression test that asserts the log record is WARNING, carries
no exc_info, and includes the exception class name.
Co-authored-by: voidborne-d <voidborne-d@users.noreply.github.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-04-24 16:00:14 +08:00
..
2026-04-10 20:40:30 +08:00
2026-03-27 20:03:30 +08:00
2026-04-01 11:42:12 +08:00
2026-03-31 22:19:27 +08:00
2026-04-02 15:39:41 +08:00
2026-04-14 00:03:38 +08:00
2026-03-26 17:44:25 +08:00
2026-04-06 22:14:12 +08:00
2026-04-06 22:14:12 +08:00
2026-04-14 10:29:44 +08:00
2026-03-14 22:55:52 +08:00
2026-04-16 09:06:38 +08:00
2026-04-19 22:00:58 +08:00
2026-03-30 07:41:18 +08:00
2026-04-07 18:21:22 +08:00
2026-03-29 21:03:58 +08:00
2026-03-29 21:03:58 +08:00
2026-04-16 08:56:49 +08:00
2026-04-09 16:07:16 +08:00
2026-03-14 22:55:52 +08:00
2026-03-29 15:31:18 +08:00
2026-04-06 16:47:19 +08:00
2026-03-22 22:39:50 +08:00
2026-04-14 00:03:38 +08:00
2026-04-12 19:11:22 +08:00
2026-04-11 17:48:04 +08:00
2026-03-31 22:19:27 +08:00
2026-04-10 17:43:39 +08:00
2026-04-08 17:13:39 +08:00
2026-04-06 22:14:12 +08:00
2026-04-18 22:47:42 +08:00
2026-04-10 17:43:39 +08:00
2026-04-23 19:41:26 +08:00
2026-04-01 23:21:32 +08:00
2026-03-23 18:07:33 +08:00
2026-03-14 22:55:52 +08:00
2026-03-26 14:20:18 +08:00
2026-04-03 15:28:56 +08:00
2026-04-24 16:00:14 +08:00
2026-04-16 08:36:42 +08:00
2026-04-09 16:12:34 +08:00
2026-04-07 10:50:34 +08:00
2026-04-19 22:30:22 +08:00
2026-04-11 16:52:10 +08:00
2026-03-29 21:31:29 +08:00
2026-04-11 17:41:36 +08:00
2026-04-12 19:11:22 +08:00
2026-03-14 22:55:52 +08:00
2026-03-14 22:55:52 +08:00
2026-03-26 14:20:18 +08:00
2026-04-03 11:21:58 +08:00
2026-04-14 15:01:06 +08:00
2026-04-01 16:45:29 +08:00
2026-04-17 12:00:31 +08:00
2026-04-17 12:00:31 +08:00
2026-04-14 15:01:06 +08:00
2026-03-22 20:39:26 +08:00
2026-04-19 22:42:55 +08:00
2026-04-09 16:07:16 +08:00
2026-03-20 17:18:59 +08:00
2026-03-26 15:07:05 +08:00
2026-04-13 22:59:13 +08:00
2026-04-10 20:40:30 +08:00
2026-04-10 20:40:30 +08:00
2026-03-14 22:55:52 +08:00
2026-03-14 22:55:52 +08:00
2026-03-31 22:22:30 +08:00
2026-04-09 17:56:36 +08:00
2026-04-07 17:15:24 +08:00
2026-04-09 17:21:23 +08:00
2026-04-09 17:21:23 +08:00
2026-04-18 08:46:59 +08:00
2026-04-10 22:55:53 +08:00
2026-04-06 22:07:11 +08:00
2026-03-30 16:02:23 +08:00
2026-03-26 14:20:18 +08:00
2026-04-20 20:17:30 +08:00
2026-04-10 17:43:39 +08:00
2026-04-07 10:50:34 +08:00
2026-03-25 16:28:33 +08:00
2026-04-23 14:06:14 +08:00
2026-04-14 09:00:29 +08:00
2026-03-26 17:39:16 +08:00
2026-04-06 22:07:11 +08:00
2026-04-20 20:25:03 +08:00
2026-03-27 20:20:31 +08:00
2026-03-30 16:02:23 +08:00
2026-04-06 14:51:10 +08:00
2026-04-08 11:46:06 +08:00
2026-03-25 10:20:16 +08:00
2026-04-23 23:59:47 +08:00
2026-04-23 23:59:47 +08:00
2026-04-12 16:40:21 +08:00
2026-04-04 21:19:35 +08:00
2026-04-14 15:01:06 +08:00
2026-04-24 14:56:03 +08:00
2026-03-26 17:39:16 +08:00
2026-03-24 00:36:08 +08:00
2026-03-14 22:55:52 +08:00
2026-04-14 09:51:39 +08:00
2026-04-14 11:11:26 +08:00
2026-03-26 14:20:18 +08:00
2026-04-20 20:25:03 +08:00
2026-03-14 22:55:52 +08:00
2026-04-06 15:09:57 +08:00
2026-03-30 11:23:15 +08:00
2026-04-02 13:06:10 +08:00
2026-04-02 13:06:10 +08:00
2026-03-26 17:39:16 +08:00
2026-04-11 16:52:10 +08:00
2026-04-18 22:47:42 +08:00
2026-04-15 23:54:30 +08:00
2026-04-06 15:18:34 +08:00
2026-04-10 20:49:28 +08:00