From 0a872ef17a4f3f957c3c86ecef9b028ec629d0b6 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 13 Mar 2025 11:57:35 +0800 Subject: [PATCH] gui/macOS: Do not log account detail-related messages that were not sent on dead file provider socket Signed-off-by: Claudio Cambra --- src/gui/macOS/fileprovidersocketcontroller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/macOS/fileprovidersocketcontroller.cpp b/src/gui/macOS/fileprovidersocketcontroller.cpp index b8d09abf83..ae70f9fdbe 100644 --- a/src/gui/macOS/fileprovidersocketcontroller.cpp +++ b/src/gui/macOS/fileprovidersocketcontroller.cpp @@ -113,7 +113,8 @@ void FileProviderSocketController::parseReceivedLine(const QString &receivedLine void FileProviderSocketController::sendMessage(const QString &message) const { if (!_socket) { - qCWarning(lcFileProviderSocketController) << "Not sending message on dead file provider socket:" << message; + const auto toLog = message.contains("ACCOUNT_DETAILS") ? "ACCOUNT_DETAILS:****" : message; + qCWarning(lcFileProviderSocketController) << "Not sending message on dead file provider socket:" << toLog; return; }