Improve logging

This commit is contained in:
Leon Böttger committed 2025-08-11 09:02:21 +02:00
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:)")
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)
}
else {