parent
32efff3f30
commit
7b4de0921f
|
@ -21,7 +21,6 @@ import java.util.Map;
|
||||||
import org.springframework.boot.actuate.endpoint.Endpoint;
|
import org.springframework.boot.actuate.endpoint.Endpoint;
|
||||||
import org.springframework.boot.autoconfigure.web.ErrorAttributes;
|
import org.springframework.boot.autoconfigure.web.ErrorAttributes;
|
||||||
import org.springframework.boot.autoconfigure.web.ErrorController;
|
import org.springframework.boot.autoconfigure.web.ErrorController;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
@ -34,7 +33,6 @@ import org.springframework.web.context.request.RequestContextHolder;
|
||||||
*
|
*
|
||||||
* @author Dave Syer
|
* @author Dave Syer
|
||||||
*/
|
*/
|
||||||
@ConfigurationProperties(prefix = "error")
|
|
||||||
public class ManagementErrorEndpoint implements MvcEndpoint {
|
public class ManagementErrorEndpoint implements MvcEndpoint {
|
||||||
|
|
||||||
private final ErrorAttributes errorAttributes;
|
private final ErrorAttributes errorAttributes;
|
||||||
|
|
Loading…
Reference in New Issue