Skip to content

Commit

Permalink
Fix error message in TransportDeplpoyModelAction class (#1368)
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
b4sjoo authored and github-actions[bot] committed Sep 26, 2023
1 parent 25fd4fe commit f36dbf5
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 f36dbf5

Please sign in to comment.