We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f631c7c commit f4fd33bCopy full SHA for f4fd33b
1 file changed
microprofile/openapi/src/main/java/io/helidon/microprofile/openapi/OpenApiCdiExtension.java
@@ -165,9 +165,9 @@ private IndexView existingIndexFileReader() throws IOException {
165
try (InputStream indexIS = indexURL.openStream()) {
166
LOGGER.log(Level.CONFIG, "Adding Jandex index at {0}", indexURL.toString());
167
indices.add(new IndexReader(indexIS).read());
168
- } catch (IOException ex) {
+ } catch (Exception ex) {
169
throw new IOException("Attempted to read from previously-located index file "
170
- + indexURL + " but the index cannot be found", ex);
+ + indexURL + " but the index cannot be read", ex);
171
}
172
173
return indices.size() == 1 ? indices.get(0) : CompositeIndex.create(indices);
0 commit comments