Skip to content

Commit

Permalink
fix log error message
Browse files Browse the repository at this point in the history
Signed-off-by: Yaliang Wu <[email protected]>
  • Loading branch information
ylwu-amzn committed Nov 8, 2022
1 parent ddf742f commit 5d1d9ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ private void retrieveModelChunks(MLModel mlModelMeta, ActionListener<File> liste
}, e -> {
stopNow.set(true);
semaphore.release();
log.error("Failed to model and chunks", e);
log.error("Failed to retrieve model chunk " + modelChunkId, e);
if (retrievedChunks.get() == totalChunks - 1) {
listener.onFailure(new MLResourceNotFoundException("Fail to find model chunk " + modelChunkId));
}
Expand Down

0 comments on commit 5d1d9ee

Please sign in to comment.