From: Claudio Cambra Date: Thu, 13 Mar 2025 03:57:35 +0000 (+0800) Subject: gui/macOS: Do not log account detail-related messages that were not sent on dead... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~1^2~13^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3f3c3cddb3a230f7919aac9e8581b3b5248fad99;p=nextcloud-desktop.git gui/macOS: Do not log account detail-related messages that were not sent on dead file provider socket Signed-off-by: Claudio Cambra --- diff --git a/src/gui/macOS/fileprovidersocketcontroller.cpp b/src/gui/macOS/fileprovidersocketcontroller.cpp index b8d09abf8..ae70f9fdb 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; }