This commit is contained in:
Administrator
2024-05-14 22:10:00 +08:00
parent 6710de8fef
commit e21b0fe290

View File

@@ -55,6 +55,7 @@ public class GatewayExceptionHandler extends AbstractExceptionHandler implements
@Override
public Mono<Void> handle(ServerWebExchange exchange, Throwable ex) {
System.out.println(ex.getMessage());
JSONObject errorInfo = super.buildErrorMap(ex);
if (exchange.getResponse().isCommitted()) {
return Mono.error(ex);