forked from Qortal/qortal
Added some more debug logging relating to file responses.
This commit is contained in:
parent
114b1aac76
commit
0b7a7ed0f1
@ -239,7 +239,12 @@ public class ArbitraryDataFileManager extends Thread {
|
|||||||
// We may need to remove the file list request, if we have all the files for this transaction
|
// We may need to remove the file list request, if we have all the files for this transaction
|
||||||
this.handleFileListRequests(signature);
|
this.handleFileListRequests(signature);
|
||||||
|
|
||||||
if (message == null || message.getType() != Message.MessageType.ARBITRARY_DATA_FILE) {
|
if (message == null) {
|
||||||
|
LOGGER.debug("Received null message from peer {}", peer);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if (message.getType() != Message.MessageType.ARBITRARY_DATA_FILE) {
|
||||||
|
LOGGER.debug("Received message with invalid type: {} from peer {}", message.getType(), peer);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user