mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-22 14:26:01 +00:00
Improve logging
This commit is contained in:
1 parent
bed222206d
commit
aacd95570b
1 file changed
+1
-1
@@ -206,7 +206,7 @@ class NearbyConnection {
|
|||||||
log("[NearbyConnection] Connection closed by peer during receiveFrameAsync(length:)")
|
log("[NearbyConnection] Connection closed by peer during receiveFrameAsync(length:)")
|
||||||
|
|
||||||
if let content = content, !content.isEmpty {
|
if let content = content, !content.isEmpty {
|
||||||
log("[NearbyConnection] Connection closed by peer during receiveFrameAsync(length:), but trying to process the frame anyway. Frame: \(content.hex)")
|
log("[NearbyConnection] Connection closed by peer during receiveFrameAsync(length:), but trying to process the frame anyway. Frame length: \(content.count)")
|
||||||
self.processReceivedFrame(frameData: content)
|
self.processReceivedFrame(frameData: content)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in new issue
Block a user