cc02ccac0150c55052fe4f29e57a879226019c11
- 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>
Description
No description provided
6.4 MiB
Languages
Kotlin
76.3%
JavaScript
11%
C#
8.8%
Python
1.4%
Go Template
1.1%
Other
1.3%