Files
fitme3070.pt/views/admin/horario
andreandClaude Opus 4.8 03102cf1a9 Fix horário calendar save: surface real error, validate sala
The save AJAX endpoint swallowed DB exceptions behind a generic
"Erro ao guardar" with no logging, making failures undiagnosable.
Now log the real exception (same sink as the global handler) and
echo the detail back in dev.

Also validate `local` against the allowed sala set instead of only
its length, so an out-of-enum value returns a clean 422 instead of
a 500 (horario.local is a strict ENUM).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 12:16:11 +01:00
..
idk
2026-06-12 21:20:23 +01:00
idk
2026-06-12 21:20:23 +01:00
idk
2026-06-12 21:20:23 +01:00
idk
2026-06-12 21:20:23 +01:00