diff --git a/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java b/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java index acdfb5ec09..134b3260de 100644 --- a/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java +++ b/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java @@ -250,11 +250,11 @@ protected void doExecute(Task task, ActionRequest request, ActionListener { - 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); }