Browse Source

adjust exception text

pull/5233/head
chrislu 11 months ago
parent
commit
439377b7a0
  1. 2
      other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java

2
other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java

@ -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);

Loading…
Cancel
Save