Last active
October 11, 2019 22:41
-
-
Save akhilbojedla/6199eb127c485d442bd53e0660d2b434 to your computer and use it in GitHub Desktop.
Exclude defaule error handler for Spring WebFlux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bytecodehq; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration; | |
@SpringBootApplication(exclude = ErrorWebFluxAutoConfiguration.class) | |
public class ErrorHandlingApplication { | |
public static void main(String[] args) { | |
SpringApplication.run(ErrorHandlingApplication.class, args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment