diff --git a/DuckDuckGo/PasswordManager/Bitwarden/Model/BWManager.swift b/DuckDuckGo/PasswordManager/Bitwarden/Model/BWManager.swift index 24be234ef2..54234d9cb4 100644 --- a/DuckDuckGo/PasswordManager/Bitwarden/Model/BWManager.swift +++ b/DuckDuckGo/PasswordManager/Bitwarden/Model/BWManager.swift @@ -604,6 +604,12 @@ extension BWManager: BWCommunicatorDelegate { } func bitwardenCommunicator(_ bitwardenCommunicator: BWCommunication, didReceiveMessageData messageData: Data) { + + //TODO REMOVE + print("RECEIVED!----------------------") + print(String(data: messageData, encoding: .utf8)) + print("----------------------") + guard let response = BWResponse(from: messageData) else { logOrAssertionFailure("BWManager: Can't decode the message") return diff --git a/DuckDuckGo/PasswordManager/Bitwarden/Services/BWCommunicator.swift b/DuckDuckGo/PasswordManager/Bitwarden/Services/BWCommunicator.swift index b564e0f089..03f02bbfa9 100644 --- a/DuckDuckGo/PasswordManager/Bitwarden/Services/BWCommunicator.swift +++ b/DuckDuckGo/PasswordManager/Bitwarden/Services/BWCommunicator.swift @@ -112,6 +112,11 @@ final class BWCommunicator: BWCommunication { return } + //TODO REMOVE + print("SENT!----------------------") + print(String(data: messageData, encoding: .utf8)) + print("----------------------") + // Prefix with the length of data var messageDataCount = UInt32(messageData.count) let messagePrefix = Data(bytes: &messageDataCount, count: MemoryLayout.size(ofValue: messageDataCount))