diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2020-05-20 16:13:40 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-05-20 16:13:40 +0200 |
commit | 97e660e1a54b2bae4b5e830ad45c3d7b9ea9ea21 (patch) | |
tree | 12ffaa3eb774ea125f3d61fb242423bdf2a4db58 /org.eclipse.jgit.ssh.apache | |
parent | 551bc5cddd4a55185b95eaa53240c27a5bc71156 (diff) | |
download | jgit-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.java | 2 |
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; |