Skip to content

Commit

Permalink
Fix error being wiped in case of file system creation failure
Browse files Browse the repository at this point in the history
Signed-off-by: TheSilkMiner <thesilkminer@outlook.com>
  • Loading branch information
TheSilkMiner committed Aug 7, 2022
1 parent 9bca131 commit e26bdd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private FileSystem create() {
try {
return FileSystems.newFileSystem(new URI("%s:%s@".formatted(TrundleFileSystemProvider.SCHEME, this.fsId)), Collections.emptyMap());
} catch (final URISyntaxException | IOException | FileSystemAlreadyExistsException | ProviderNotFoundException e) {
throw new RuntimeException("Unable to create file system " + this.fsId);
throw new RuntimeException("Unable to create file system " + this.fsId, e);
}
}
}
Expand Down

0 comments on commit e26bdd1

Please sign in to comment.