adjust exception text

This commit is contained in:
chrislu
2024-01-22 12:53:44 -08:00
parent 2158e163f7
commit 439377b7a0

View File

@@ -69,7 +69,7 @@ public class SeaweedRead {
if (locations == null || locations.getLocationsCount() == 0) { if (locations == null || locations.getLocationsCount() == 0) {
LOG.error("failed to locate {}", chunkView.fileId); LOG.error("failed to locate {}", chunkView.fileId);
volumeIdCache.clearLocations(volumeId); volumeIdCache.clearLocations(volumeId);
throw new IOException("failed to locate file"); throw new IOException("failed to locate fileId " + chunkView.fileId);
} }
int len = readChunkView(filerClient, startOffset, buf, chunkView, locations); int len = readChunkView(filerClient, startOffset, buf, chunkView, locations);