Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.16] Error visibility: Modifying error logs and logging more details about errors received from remote service #3358

Closed
wants to merge 1 commit into from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 441af6e from #3337

…details (#3337)

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
(cherry picked from commit 441af6e)
@dhrubo-os
Copy link
Collaborator

/__w/ml-commons/ml-commons/ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/SearchIndexTool.java:119: warning: [removal] AccessController in java.security has been deprecated and marked for removal
                        String doc = AccessController.doPrivileged((PrivilegedExceptionAction<String>) () -> {
                                     ^
/__w/ml-commons/ml-commons/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/MLSdkAsyncHttpResponseHandler.java:174: error: cannot find symbol
            log.error("Remote server returned exception with status code: {} and body: {}", statusCode, body);
                                                                                                        ^
  symbol:   variable body
  location: class MLSdkAsyncHttpResponseHandler

why do we need to backport to 2.16 branch?

@dhrubo-os dhrubo-os closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants