Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ static FileDescriptorContext readDescriptor(ExternalResourceHandler externalReso

try (InputStream inputStream = externalResourceHandler.open()) {

if (inputStream == null) {
throw new IllegalStateException(
"Could not read gRPC proto descriptor resource '"
+ externalResourceHandler.name()
+ "'. Verify the path is correct and that the resource is available.");
}
Comment on lines +44 to +49

Path protoFile = grpcDir.resolve(externalResourceHandler.name());
if (!Files.exists(protoFile)) {
Files.createDirectories(protoFile);
Comment on lines +49 to 53
Expand Down
Loading