Skip to content

Commit 134315b

Browse files
fangerertimfel
authored andcommitted
Use nicer error message if extraction fails
(cherry picked from commit b29c4e6)
1 parent a03b323 commit 134315b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/lib-graalpython/modules/standalone/templates/VirtualFileSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ private Path getExtractedPath(Path path) {
381381

382382
return xPath;
383383
} catch (IOException e) {
384-
throw new IllegalStateException(e);
384+
throw new RuntimeException(String.format("Error while extracting virtual filesystem path '%s' to the disk", path), e);
385385
}
386386
}
387387

0 commit comments

Comments
 (0)