]> source.dussan.org Git - jgit.git/commit
Lower log level to warn for handled pack errors 41/45641/4
authorHugo Arès <hugo.ares@ericsson.com>
Fri, 10 Apr 2015 13:08:07 +0000 (09:08 -0400)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 30 Apr 2015 14:21:03 +0000 (16:21 +0200)
commitd3a73c1407f8936cb45516da8d3a2d4dd43c6379
tree335728c25624e13cf6bdaddbf0a50f46de5960a2
parent65423ea1b1e4e396ad5cd68b500b8d5a450713f4
Lower log level to warn for handled pack errors

Pack not found and pack corrupted/invalid are handled by the code (pack
is removed from the list) so logging an error and the stacktrace is
misleading because it implies that there is an action to take to fix the
error.

Lower the log level to warn and remove the stacktrace for those 2 types
of errors and keep the error log statement for any other.

Change-Id: I2400fe5fec07ac6d6c244b852cce615663774e6e
Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java