Commit Graph
1 Commits
Author SHA1 Message Date
google-labs-jules[bot]anddevitq cc02ccac01 Fix production DB driver issue and root path 500 error
- Removed hardcoded `driver-class-name` from `application.yaml` to enable Spring Boot's driver auto-detection, fixing the startup failure in production where H2 driver was being used with a PostgreSQL URL.
- Updated `ApiExceptionHandler` to handle `NoResourceFoundException`, ensuring that unmapped paths (like `/`) return a 404 Not Found response instead of a 500 Internal Server Error.
- Added `NotFoundControllerTest` to verify the fix.

Co-authored-by: devitq <118541411+devitq@users.noreply.github.com>
2026-05-22 18:22:59 +00:00