Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
index ac8d655015..0dfa51187c 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
@@ -304,14 +304,16 @@ public abstract class FS {
}
} catch (IOException e) {
// Just print on stderr for debugging
- e.printStackTrace(System.err);
+ if (debug)
+ e.printStackTrace(System.err);
gooblerFail.set(true);
}
try {
is.close();
} catch (IOException e) {
// Just print on stderr for debugging
- e.printStackTrace(System.err);
+ if (debug)
+ e.printStackTrace(System.err);
gooblerFail.set(true);
}
}

Back to the top