Browse Source

Only print stack trace to Sytem.err when debug flag is set

Bug: 362100
Change-Id: Id18de9660f0dc2fb6c30db9770f31f26c874022d
stable-1.3
Kevin Sawicki 13 years ago
parent
commit
2de1d9fb64
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java

2
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java

@ -304,6 +304,7 @@ public abstract class FS {
}
} catch (IOException e) {
// Just print on stderr for debugging
if (debug)
e.printStackTrace(System.err);
gooblerFail.set(true);
}
@ -311,6 +312,7 @@ public abstract class FS {
is.close();
} catch (IOException e) {
// Just print on stderr for debugging
if (debug)
e.printStackTrace(System.err);
gooblerFail.set(true);
}

Loading…
Cancel
Save