forked from Qortal/qortal
Peer.sendMessage() should return false when it can't send because it can't build the message
This commit is contained in:
parent
019cfdc1db
commit
745528a9b1
@ -507,6 +507,7 @@ public class Peer {
|
||||
}
|
||||
} catch (MessageException e) {
|
||||
LOGGER.warn(String.format("Failed to send %s message with ID %d to peer %s: %s", message.getType().name(), message.getId(), this, e.getMessage()));
|
||||
return false;
|
||||
} catch (IOException e) {
|
||||
// Send failure
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user