Files
free-claude-code/tests
Cursor Agent fdcb711399 fix: use RuntimeError in test_generic_exception_with_status_code to exercise getattr fallback
APIError is a ProviderError subclass, so it was caught by 'except ProviderError: raise'
and handled by provider_error_handler, bypassing the generic exception path that uses
getattr(e, 'status_code', 500). The test now uses RuntimeError with a dynamically-added
status_code attribute to actually test that fallback logic in routes.py.

Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
2026-02-15 04:23:21 +00:00
..
2026-02-13 16:24:52 -08:00
2026-02-13 17:24:18 -08:00
2026-02-13 17:24:18 -08:00
2026-02-14 02:14:36 -08:00
2026-02-15 02:29:03 +00:00
2026-02-08 15:54:03 -08:00
2026-02-14 19:17:19 -08:00
2026-02-13 17:24:18 -08:00
2026-02-14 19:17:51 -08:00
2026-02-13 17:24:18 -08:00
2026-02-14 19:17:51 -08:00
2026-02-14 18:55:33 -08:00
2026-02-14 18:47:26 -08:00
2026-02-08 15:54:03 -08:00
2026-02-14 18:55:33 -08:00
2026-02-14 19:17:19 -08:00
2026-02-15 02:29:03 +00:00
2026-02-08 15:54:03 -08:00
2026-02-14 19:17:51 -08:00
2026-02-14 18:47:26 -08:00