7523d4cbd9
Wrap c.json() in try/catch to surface any remaining serialization errors rather than crashing with a generic 500. Also change the null- staff guard from 404 → 500 since a missing staff context is an internal error, not a not-found case. Co-Authored-By: Paperclip <noreply@paperclip.ing>