We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b46e8b commit d45def5Copy full SHA for d45def5
backend/commons/src/main/java/org/sonarsource/sonarlint/core/commons/util/git/GitUtils.java
@@ -154,7 +154,7 @@ private static String getNativeGitExecutable() {
154
if (exitCode == 0) {
155
nativeGitExecutable = executable;
156
}
157
- } catch (IOException e) {
+ } catch (IOException | IllegalStateException e) {
158
LOG.debug("Checking for native Git executable failed", e);
159
} catch (InterruptedException e) {
160
Thread.currentThread().interrupt();
0 commit comments