Add logs for push errors on android (#8540)

This commit is contained in:
Daniel Espino García 2025-01-31 10:35:10 +01:00 committed by GitHub
parent 79e90d1a8a
commit 737fa985ef
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")