Report exceptions from Micropub 500 error paths instead of swallowing them #136

Merged
jonny merged 1 commit from log-micropub-controller-errors into develop 2026-09-19 13:46:33 +02:00

2026-09-19

Report exceptions from Micropub 500 error paths instead of swallowing them
MicropubController's catch-all handlers returned a generic 500 without
ever calling report(), so failures never reached laravel.log or Flare
(Flare is already wired up via bootstrap/app.php). Widened the final
catch to \Throwable so PHP Errors (e.g. TypeError) get the same
Micropub-shaped error response and are also reported.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 12:22:33 +01:00