From aacd95570b837a6d4489aefc9dd744332e67e682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Mon, 11 Aug 2025 09:02:21 +0200 Subject: [PATCH] Improve logging --- NearbyShare/Connection/NearbyConnection.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NearbyShare/Connection/NearbyConnection.swift b/NearbyShare/Connection/NearbyConnection.swift index fc140df..a849ab3 100644 --- a/NearbyShare/Connection/NearbyConnection.swift +++ b/NearbyShare/Connection/NearbyConnection.swift @@ -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 {