From 439377b7a084242e2a1347538c6692e9a6e527a8 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 22 Jan 2024 12:53:44 -0800 Subject: [PATCH] adjust exception text --- .../java/client/src/main/java/seaweedfs/client/SeaweedRead.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java index 031e904d2..23fb14ebb 100644 --- a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java +++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java @@ -69,7 +69,7 @@ public class SeaweedRead { if (locations == null || locations.getLocationsCount() == 0) { LOG.error("failed to locate {}", chunkView.fileId); 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);