tanghc 5 years ago
parent db24154ea9
commit 539f9dbcf7
  1. 2
      sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/result/GatewayResultExecutor.java

@ -52,7 +52,7 @@ public class GatewayResultExecutor extends BaseExecutorAdapter<ServerWebExchange
@Override
public GatewayResult buildErrorResult(ServerWebExchange exchange, Throwable ex) {
Error error = null;
Error error;
if (ex instanceof ApiException) {
ApiException apiException = (ApiException) ex;
error = apiException.getError();

Loading…
Cancel
Save