mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-09 22:08:21 +00:00
Instead of shipping an `error/404.html` template, added a `@ControllerAdvice` that handles `DbAdminNotFoundException`. This way, we only show our error page for exceptions that are thrown inside our controller's methods, and don't interfere with the 404 settings for the other routes defined by the user.