From f14facfef118320a870f85b343958d08f6a48056 Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Sat, 7 May 2016 13:18:04 +0200 Subject: [PATCH] Improve error msg --- .../java/io/bitsquare/trade/protocol/trade/ProcessModel.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/io/bitsquare/trade/protocol/trade/ProcessModel.java b/core/src/main/java/io/bitsquare/trade/protocol/trade/ProcessModel.java index 42f4f1a1e2..f4d4c3cc83 100644 --- a/core/src/main/java/io/bitsquare/trade/protocol/trade/ProcessModel.java +++ b/core/src/main/java/io/bitsquare/trade/protocol/trade/ProcessModel.java @@ -146,7 +146,9 @@ public class ProcessModel implements Model, Serializable { public byte[] getArbitratorPubKey(NodeAddress arbitratorNodeAddress) { Arbitrator acceptedArbitratorByAddress = user.getAcceptedArbitratorByAddress(arbitratorNodeAddress); - checkNotNull(acceptedArbitratorByAddress, "acceptedArbitratorByAddress must not be null. Maybe there is no arbitrator in the network available."); + checkNotNull(acceptedArbitratorByAddress, "acceptedArbitratorByAddress must not be null.\n" + + "Maybe there is no arbitrator in the network available or you did not receive the data from the P2P network.\n" + + "You can try to restart the app to see if that resolved the issue."); return acceptedArbitratorByAddress.getBtcPubKey(); }