fix(core): Ensure connector errors are properly pushed through stack.
MODIFY
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/ApiRequestExecutorImpl.java
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/ApiRequestExecutorImpl.java
@@ -713,7 +713,7 @@ public class ApiRequestExecutorImpl implements IApiRequestExecutor {
responseChain.doApply(apiResponse);
} else {
- // TODO handle the use case where there is an error!
+ resultHandler.handle(AsyncResultImpl.create(result.getError()));
}
};
}

fix(core): Ensure connector errors are properly pushed through stack.