mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Logging the failed device token registration (#969)
* logging the failed registration * Update ElementX/Sources/Services/Notification/Manager/NotificationManager.swift Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> --------- Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
parent
ce6d68614a
commit
909b8eed7e
@ -86,7 +86,9 @@ class NotificationManager: NSObject, NotificationManagerProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
func registrationFailed(with error: Error) { }
|
||||
func registrationFailed(with error: Error) {
|
||||
MXLog.error("[NotificationManager] device token registration failed with error: \(error)")
|
||||
}
|
||||
|
||||
func showLocalNotification(with title: String, subtitle: String?) async {
|
||||
let content = UNMutableNotificationContent()
|
||||
|
Loading…
x
Reference in New Issue
Block a user