Skip to content

Commit

Permalink
Address the comment from @jrhee17
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Aug 22, 2024
1 parent 2bc8ab4 commit 2f9eb27
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@ protected void init() {
futures.add(findFuture.handleAsync((entries, cause) -> {
// Executed by the repository worker thread.
if (cause != null) {
logger.warn("Unexpected exception while finding {} at revision: {}",
groupName, normalizedRevision, cause);
return null;
throw new RuntimeException("Unexpected exception while finding " + groupName +
" at revision: " + normalizedRevision, cause);
}
for (Entry<?> entry : entries.values()) {
if (entry.type() != EntryType.JSON || !entry.hasContent()) {
Expand Down

0 comments on commit 2f9eb27

Please sign in to comment.