Skip to content

Commit

Permalink
Add String description in log arguments (mattermost#6961)
Browse files Browse the repository at this point in the history
  • Loading branch information
enahum authored Jan 12, 2023
1 parent cab863d commit 247d837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/NotificationService/NotificationService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
})
Expand Down

0 comments on commit 247d837

Please sign in to comment.