Skip to content

Commit

Permalink
Fail gracefully when executed outside of the context of a git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebeaton committed Apr 19, 2024
1 parent 69f6ef7 commit 78142e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static Stream<URIish> findEclipseRemotes() {
.flatMap(each -> each.getURIs().stream())
.filter(each -> each.isRemote())
.filter(each -> isEclipseRemote(each));
} catch (IOException | GitAPIException e) {
} catch (IOException | GitAPIException | IllegalArgumentException e) {
// FIXME Log this (or maybe just don't...)
}
return Stream.empty();
Expand Down

0 comments on commit 78142e4

Please sign in to comment.