Skip to content

Commit c230b23

Browse files
committed
Add path to error message.
1 parent 126f80f commit c230b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/hadoop/fs/glusterfs/GlusterVolume.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public FileStatus[] listStatus(Path f) throws IOException {
283283
}
284284

285285
if(localf.isDirectory() && !localf.canRead()){
286-
throw new IOException("Access denied.");
286+
throw new IOException("Access denied : " + localf.getPath());
287287
}
288288

289289
File[] names = localf.listFiles();

0 commit comments

Comments
 (0)