mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
1.15.1
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user