Skip to content

Commit

Permalink
Elaborate error message
Browse files Browse the repository at this point in the history
Signed-off-by: Sicheng Song <[email protected]>
  • Loading branch information
b4sjoo committed Sep 26, 2023
1 parent 536e7d6 commit 96b6c46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ protected void doExecute(Task task, ActionRequest request, ActionListener<MLDepl
listener.onFailure(e);
}));
}, e -> {
log.error("Failed to get ML 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 deploy model " + modelId, e);
log.error("Failed to deploy the ML model with ID " + modelId, e);
listener.onFailure(e);
}

Expand Down

0 comments on commit 96b6c46

Please sign in to comment.