Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Brandstätter <[email protected]>
  • Loading branch information
timo0 committed Dec 19, 2024
1 parent 60d17df commit d1cf1bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public YamlConfigSource(@NonNull final String fileName, final int ordinal) {
}
convertYamlToMaps(resource);
} catch (IOException e) {
throw new UncheckedIOException("Failed to read YAML file", e);
throw new UncheckedIOException("Failed to read YAML file " + fileName, e);

Check warning on line 109 in platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java

View check run for this annotation

Codecov / codecov/patch

platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java#L108-L109

Added lines #L108 - L109 were not covered by tests
}
}

Expand Down Expand Up @@ -135,7 +135,7 @@ public YamlConfigSource(@NonNull final Path filePath, final int ordinal) {
try (InputStream resource = Files.newInputStream(filePath)) {
convertYamlToMaps(resource);
} catch (IOException e) {
throw new UncheckedIOException("Failed to read YAML file", e);
throw new UncheckedIOException("Failed to read YAML file " + filePath, e);
}
}

Check warning on line 140 in platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java

View check run for this annotation

Codecov / codecov/patch

platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java#L135-L140

Added lines #L135 - L140 were not covered by tests

Expand Down

0 comments on commit d1cf1bc

Please sign in to comment.