commit | 97e660e1a54b2bae4b5e830ad45c3d7b9ea9ea21 | [log] [tgz] |
---|---|---|
author | Matthias Sohn <matthias.sohn@sap.com> | Wed May 20 16:13:40 2020 +0200 |
committer | Matthias Sohn <matthias.sohn@sap.com> | Wed May 20 16:13:40 2020 +0200 |
tree | 12ffaa3eb774ea125f3d61fb242423bdf2a4db58 | |
parent | 551bc5cddd4a55185b95eaa53240c27a5bc71156 [diff] |
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>
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 2ce6990..79b3637 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 @@ } catch (CancellationException cancelled) { throw cancelled; } catch (Exception other) { - log.warn(other.toString()); + log.warn(other.getMessage(), other); } } return nextItem != null;