pravit-amp and Pravit Ampapathini
4217f23df2
fix(seed): report real cause of API failures in load_from_api ( #972 )
...
``requests.exceptions.RequestException`` subclasses ``OSError``, so the
``except (ImportError, OSError)`` handler in ``load_from_api`` swallowed
genuine network failures (connection errors, timeouts, HTTP errors) and
reported them as "requests library not available", hiding the real cause.
Remove the obsolete handler so those failures fall through to the generic
handler, which reports "Failed to load from API: ..." and chains the real
exception as ``__cause__``. Update the docstring's ``Raises`` section to
match the actual behavior.
Fixes #949
Co-authored-by: Pravit Ampapathini <pravit.amp@gmail.com >
2026-08-24 22:49:45 +05:00
..
2026-04-02 18:10:11 +05:30
2026-08-11 01:32:43 +05:30
2026-08-23 17:26:05 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-08-22 14:13:45 +05:00
2026-01-08 18:56:42 +05:30
2026-08-15 13:48:26 +05:30
2026-08-24 13:38:07 +05:30
2026-08-11 16:24:28 +05:30
2026-08-24 16:07:22 +05:30
2026-01-16 01:19:33 +05:30
2026-08-24 21:08:46 +05:30
2026-08-22 14:24:47 +05:00
2026-08-22 13:30:35 +05:00
2026-08-23 00:15:41 +08:00
2026-08-16 14:07:10 +05:00
2026-08-11 16:49:54 -07:00
2026-08-19 15:58:24 +01:00
2026-08-22 14:00:28 +05:00
2026-08-12 17:43:10 +05:30
2026-08-15 13:48:26 +05:30
2026-08-17 13:16:17 +05:30
2026-08-24 09:02:42 +08:00
2026-08-22 13:52:56 +05:00
2026-08-23 15:51:25 +05:30
2026-08-20 17:58:20 +05:00
2026-01-08 17:23:31 +05:30
2026-04-29 21:17:36 +05:00
2026-01-12 17:15:21 +05:30
2026-08-18 02:18:39 +05:00
2026-03-13 06:31:38 +05:30
2026-04-07 17:42:08 +05:30
2026-03-26 12:38:24 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 20:13:28 -05:00
2026-05-23 00:14:23 +05:30
2026-02-02 22:56:53 +05:30
2026-08-20 15:56:39 +05:30
2026-06-16 04:43:45 +05:00
2026-07-16 20:11:58 +05:30
2026-08-20 08:17:46 +05:30
2026-01-08 17:23:31 +05:30
2026-05-29 23:45:29 +05:30
2026-01-24 20:53:21 +05:30
2026-08-11 16:24:28 +05:30
2026-08-11 16:24:28 +05:30
2026-01-08 17:23:31 +05:30
2026-01-27 21:55:22 +05:30
2026-01-24 20:53:21 +05:30
2026-01-08 17:23:31 +05:30
2026-05-15 20:00:44 +05:30
2026-02-02 23:50:00 +05:30
2026-07-31 13:14:29 +05:30
2026-08-12 14:07:47 +05:30
2026-08-12 13:56:02 +05:30
2026-01-10 23:32:10 +05:30
2026-08-17 12:40:10 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-03-18 00:17:08 +05:30
2026-05-23 00:14:23 +05:30
2026-01-08 17:23:31 +05:30
2026-08-23 22:17:31 +05:30
2026-01-16 01:19:33 +05:30
2026-02-10 12:22:16 +05:30
2026-08-12 21:14:55 +05:30
2026-08-11 18:37:50 +05:30
2026-08-24 22:49:45 +05:00
2026-01-10 23:32:10 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-02-04 00:17:25 +05:30
2026-04-07 17:42:08 +05:30
2026-01-08 17:23:31 +05:30
2026-01-08 17:23:31 +05:30
2026-06-04 16:57:00 +05:30