Skip to content

Commit

Permalink
Fix error message in TransportDeplpoyModelAction class (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#1368) (opensearch-project#1389)

* Fix error message in TransportDeplpoyModelAction class

Signed-off-by: Sicheng Song <[email protected]>

* Elaborate error message

Signed-off-by: Sicheng Song <[email protected]>

---------

Signed-off-by: Sicheng Song <[email protected]>
(cherry picked from commit 9b6af2e)

Co-authored-by: Sicheng Song <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and b4sjoo authored Sep 27, 2023
1 parent 5b59e3e commit 28c6c41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ protected void doExecute(Task task, ActionRequest request, ActionListener<MLDepl
listener.onFailure(e);
}));
}, e -> {
log.error("Failed to deploy model " + modelId, e);
log.error("Failed to retrieve the ML model with ID: " + modelId, e);
listener.onFailure(e);
}));
} catch (Exception e) {
log.error("Failed to get ML model " + modelId, e);
log.error("Failed to deploy the ML model with ID " + modelId, e);
listener.onFailure(e);
}

Expand Down

0 comments on commit 28c6c41

Please sign in to comment.