diff --git a/core/src/main/java/haveno/core/offer/availability/tasks/ProcessOfferAvailabilityResponse.java b/core/src/main/java/haveno/core/offer/availability/tasks/ProcessOfferAvailabilityResponse.java index cb78a6fe..e49235e8 100644 --- a/core/src/main/java/haveno/core/offer/availability/tasks/ProcessOfferAvailabilityResponse.java +++ b/core/src/main/java/haveno/core/offer/availability/tasks/ProcessOfferAvailabilityResponse.java @@ -54,7 +54,7 @@ public class ProcessOfferAvailabilityResponse extends Task { }, - errorMessage -> new Popup().warning(errorMessage).show()); + errorMessage -> { + log.warn(errorMessage); + if (offer.getState() != Offer.State.NOT_AVAILABLE) new Popup().warning(errorMessage).show(); // expected and handled elsewhere in UI + }); } } diff --git a/desktop/src/main/java/haveno/desktop/main/offer/takeoffer/TakeOfferViewModel.java b/desktop/src/main/java/haveno/desktop/main/offer/takeoffer/TakeOfferViewModel.java index 9382ca9d..559ad75f 100644 --- a/desktop/src/main/java/haveno/desktop/main/offer/takeoffer/TakeOfferViewModel.java +++ b/desktop/src/main/java/haveno/desktop/main/offer/takeoffer/TakeOfferViewModel.java @@ -374,8 +374,8 @@ class TakeOfferViewModel extends ActivatableWithDataModel im takeOfferRequested = false; break; case REMOVED: - if (!takeOfferRequested) - offerWarning.set(Res.get("takeOffer.failed.offerRemoved")); + // if (takeOfferRequested) // TODO: show any warning or removed is expected? + // offerWarning.set(Res.get("takeOffer.failed.offerRemoved")); takeOfferRequested = false; break;