Add String description in log arguments (#6961)

This commit is contained in:
Elias Nahum
2023-01-12 11:01:19 +02:00
committed by GitHub
parent cab863d62f
commit 247d8371d9

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)
})