WIP: welcom + error - 404 anstatt 500
[maven-thymeleaf-skin] / src / main / java / de / juplo / thymeproxy / Application.java
index 7eb7333..48bea7d 100644 (file)
@@ -118,9 +118,9 @@ public class Application extends WebMvcConfigurerAdapter
   }
 
   @Bean
-  public ExceptionMappings exceptionMappings()
+  public DefaultExceptionHandler defaultExceptionHandler()
   {
-    return new ExceptionMappings();
+    return new DefaultExceptionHandler();
   }