Skip to content

Commit 3cb6e98

Browse files
author
tihiyn
committed
feat(#4505): made exception message more detailed in OyCached
1 parent 253dac2 commit 3cb6e98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eo-maven-plugin/src/main/java/org/eolang/maven/OyCached.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public boolean isDirectory(final String name) throws IOException {
9191
return this.origin.isDirectory(name);
9292
} catch (final IOException exception) {
9393
throw new IllegalStateException(
94-
"An error occurred during the access to the origin objectionary",
94+
String.format("Failed to fetch object %s from the origin objectionary", name),
9595
exception
9696
);
9797
}

0 commit comments

Comments
 (0)