Add logs for push errors on android (#8540) (#8544)

(cherry picked from commit 737fa985ef)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
This commit is contained in:
Mattermost Build 2025-01-31 11:59:52 +02:00 committed by GitHub
parent 88a782c23d
commit 84d9976697
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,6 +115,8 @@ class PushNotificationDataRunnable {
}
} catch (e: Exception) {
e.printStackTrace()
val eMessage = e.message ?: "Error with no message"
TurboLog.e("ReactNative", "Error processing push notification error=$eMessage")
} finally {
db?.close()
TurboLog.i("ReactNative", "DONE fetching notification data")