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:
parent
551bc5cddd
commit
97e660e1a5
|
@ -170,7 +170,7 @@ public boolean hasNext() {
|
||||||
} catch (CancellationException cancelled) {
|
} catch (CancellationException cancelled) {
|
||||||
throw cancelled;
|
throw cancelled;
|
||||||
} catch (Exception other) {
|
} catch (Exception other) {
|
||||||
log.warn(other.toString());
|
log.warn(other.getMessage(), other);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nextItem != null;
|
return nextItem != null;
|
||||||
|
|
Loading…
Reference in New Issue