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>
This commit is contained in:
Matthias Sohn 2020-05-20 16:13:40 +02:00
parent 551bc5cddd
commit 97e660e1a5
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public boolean hasNext() {
} catch (CancellationException cancelled) {
throw cancelled;
} catch (Exception other) {
log.warn(other.toString());
log.warn(other.getMessage(), other);
}
}
return nextItem != null;