Add error log to get more information on the actual problem

This commit is contained in:
Christoph Atteneder 2020-11-19 14:58:44 +01:00
parent 457257b72a
commit 580387c0b7
No known key found for this signature in database
GPG key ID: CD5DC1C529CDFD3B

View file

@ -788,6 +788,7 @@ public class DisputeSummaryWindow extends Overlay<DisputeSummaryWindow> {
}
} catch (TradeDataValidation.DisputeReplayException exception) {
if (disputeManager instanceof MediationManager) {
log.error("Closing of ticket failed as mediator", exception);
new Popup().width(900)
.warning(exception.getMessage())
.onAction(() -> {
@ -797,6 +798,7 @@ public class DisputeSummaryWindow extends Overlay<DisputeSummaryWindow> {
.closeButtonText(Res.get("shared.no"))
.show();
} else {
log.error("Closing of ticket failed", exception);
new Popup().width(900)
.warning(exception.getMessage())
.show();