Move log before super handler to maintain correct order of logs

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2022-12-26 12:21:20 -05:00
parent 4c237dcf0d
commit 72b55f429a
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307

View File

@ -167,11 +167,11 @@ public abstract class SellerProtocol extends DisputeProtocol {
@Override
protected void onTradeMessage(TradeMessage message, NodeAddress peer) {
super.onTradeMessage(message, peer);
log.info("Received {} from {} with tradeId {} and uid {}",
message.getClass().getSimpleName(), peer, message.getTradeId(), message.getUid());
super.onTradeMessage(message, peer);
if (message instanceof DelayedPayoutTxSignatureResponse) {
handle((DelayedPayoutTxSignatureResponse) message, peer);
} else if (message instanceof ShareBuyerPaymentAccountMessage) {