Skip to content

Commit

Permalink
Add logs for push errors on android
Browse files Browse the repository at this point in the history
  • Loading branch information
larkox committed Jan 30, 2025
1 parent 0a0e2a7 commit f9246fa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f9246fa

Please sign in to comment.