未登陆异常处理

This commit is contained in:
attiya 2025-09-11 09:39:56 +08:00
parent 36bb1816fc
commit 70adbc155d

View File

@ -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()) {