summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.ssh.apache
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2020-05-20 16:13:40 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2020-05-20 16:13:40 +0200
commit97e660e1a54b2bae4b5e830ad45c3d7b9ea9ea21 (patch)
tree12ffaa3eb774ea125f3d61fb242423bdf2a4db58 /org.eclipse.jgit.ssh.apache
parent551bc5cddd4a55185b95eaa53240c27a5bc71156 (diff)
downloadjgit-97e660e1a54b2bae4b5e830ad45c3d7b9ea9ea21.tar.gz
jgit-97e660e1a54b2bae4b5e830ad45c3d7b9ea9ea21.zip
Log stack trace if CachingKeyPairProvider hits unexpected exception
Log the stack trace in order to help understanding the bug 563380 Bug: 563380 Change-Id: If993a63ccec5042b10e1d5e945b18f4b5f06d8ff Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.ssh.apache')
-rw-r--r--org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/CachingKeyPairProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/CachingKeyPairProvider.java b/org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/CachingKeyPairProvider.java
index 2ce69901c1..79b3637caa 100644
--- a/org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/CachingKeyPairProvider.java
+++ b/org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/transport/sshd/CachingKeyPairProvider.java
@@ -170,7 +170,7 @@ public class CachingKeyPairProvider extends FileKeyPairProvider
} catch (CancellationException cancelled) {
throw cancelled;
} catch (Exception other) {
- log.warn(other.toString());
+ log.warn(other.getMessage(), other);
}
}
return nextItem != null;