Add String description in log arguments (#6961) (#6964)

(cherry picked from commit 247d8371d9)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2023-01-12 11:08:12 +02:00 committed by GitHub
parent da1b3dc71d
commit 55f919dd27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,7 +157,7 @@ class NotificationService: UNNotificationServiceExtension {
os_log(
OSLogType.default,
"Mattermost Notifications: notification receipt failed with status %{public}@. Will call sendMessageIntent",
httpResponse.statusCode
String(describing: httpResponse.statusCode)
)
self.sendMessageIntent(notification: self.bestAttemptContent!)
return
@ -172,7 +172,7 @@ class NotificationService: UNNotificationServiceExtension {
os_log(
OSLogType.default,
"Mattermost Notifications: receipt retrieval failed. Retry %{public}@",
self.retryIndex
String(describing: self.retryIndex)
)
self.fetchReceipt(ackNotification)
})