Skip to content

Commit

Permalink
rever onFailure
Browse files Browse the repository at this point in the history
I noticed it does not used in the final display of the ErrorDialog.

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
chrisrueger committed Jan 26, 2025
1 parent acc2ca5 commit 329e4df
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.bndtools.templating.jgit;

import java.io.IOException;
import java.net.URI;
import java.util.Objects;
import java.util.concurrent.Executor;
@@ -34,9 +33,6 @@ public Promise<GithubRepoDetailsDTO> loadRepoDetails(String repository) {
return new JSONCodec().dec()
.from(detailsDtoData)
.get(GithubRepoDetailsDTO.class);
})
.onFailure(t -> {
throw new IOException("Error fetching Github repo details: " + URL_PREFIX + repository, t);
});
}
}

0 comments on commit 329e4df

Please sign in to comment.