whisper-money/app/Exceptions
Víctor Falcón a05e020b00 fix(banking): classify EnableBanking 422 wrong-period as a recoverable error
EnableBanking returns HTTP 422 "Wrong transactions period requested" when the
requested transactions date range is wider than the bank will serve. The
catch-ladder in getTransactions() did not match it, so it rethrew a raw
RequestException that crashed the whole connection sync (retried 3x, connection
marked Error, reported to Sentry) — see PHP-LARAVEL-42.

Introduce WrongTransactionsPeriodException (ShouldntReport) and detect the 422
so the sync layer can recover by narrowing the window. Also stop logging handled
422s at error level in the HTTP client callback.
2026-07-07 02:50:24 +02:00
..
Banking fix(banking): classify EnableBanking 422 wrong-period as a recoverable error 2026-07-07 02:50:24 +02:00