The withExceptions render hook called SetLocale::apply(), which resolves the user via the DB — if the original error was a DB/user-provider failure, that second access would throw inside the renderer and prevent the custom error page from rendering (exactly when it's needed). Wrap it so any failure is swallowed and the page renders in the default locale. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cache | ||
| app.php | ||
| providers.php | ||