未登陆异常处理
This commit is contained in:
parent
36bb1816fc
commit
70adbc155d
@ -33,7 +33,7 @@ public class GatewayExceptionHandler implements ErrorWebExceptionHandler {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public Mono<Void> handle(ServerWebExchange exchange, Throwable ex) {
|
public Mono<Void> handle(ServerWebExchange exchange, @NotNull Throwable ex) {
|
||||||
ServerHttpResponse response = exchange.getResponse();
|
ServerHttpResponse response = exchange.getResponse();
|
||||||
|
|
||||||
if (exchange.getResponse().isCommitted()) {
|
if (exchange.getResponse().isCommitted()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user