Skip to content

Commit 39b09bf

Browse files
authored
Merge pull request #16256 from glefloch/fix/avro-throw
Add missing throw statement
2 parents 85f7b2d + dd5f6ef commit 39b09bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/avro/deployment/src/main/java/io/quarkus/avro/deployment/AvroProtocolCodeGenProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void compileSingleFile(Path filePath,
4848
compiler.setOutputCharacterEncoding("UTF-8");
4949
compiler.compileToDestination(filePath.toFile(), outputDirectory.toFile());
5050
} catch (IOException e) {
51-
new CodeGenException("Failed to compile avro protocole file: " + filePath.toString() + " to Java", e);
51+
throw new CodeGenException("Failed to compile avro protocole file: " + filePath.toString() + " to Java", e);
5252
}
5353
}
5454
}

0 commit comments

Comments
 (0)