Unredact client notification text in the logs

This commit is contained in:
Garth Vander Houwen 2025-06-10 17:10:03 -07:00
parent 701a06a02d
commit 219a85900a

View file

@ -667,7 +667,7 @@ class BLEManager: NSObject, CBPeripheralDelegate, MqttClientProxyManagerDelegate
)
]
manager.schedule()
Logger.data.error("⚠️ Client Notification \((try? decodedInfo.clientNotification.jsonString()) ?? "JSON Decode Failure")")
Logger.data.error("⚠️ Client Notification \((try? decodedInfo.clientNotification.jsonString()) ?? "JSON Decode Failure", privacy: .public)")
}
switch decodedInfo.packet.decoded.portnum {