Fix server.error.path reference in error controller
This commit is contained in:
parent
1ec40ed666
commit
6ec767437a
|
|
@ -43,7 +43,7 @@ public class ManagementErrorEndpoint {
|
||||||
this.errorAttributes = errorAttributes;
|
this.errorAttributes = errorAttributes;
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping("${server.path:/error}")
|
@RequestMapping("${server.error.path:${error.path:/error}}")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public Map<String, Object> invoke() {
|
public Map<String, Object> invoke() {
|
||||||
return this.errorAttributes.getErrorAttributes(
|
return this.errorAttributes.getErrorAttributes(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue