Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 7865b74

Browse files
committed
Add a Log.e() on fail.
1 parent 8a5871d commit 7865b74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotification.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public void requestPermissions() {
129129
@Override
130130
public void onComplete(@NonNull Task<InstanceIdResult> task) {
131131
if (!task.isSuccessful()) {
132+
Log.e(LOG_TAG, "exception", task.getException());
132133
return;
133134
}
134135

0 commit comments

Comments
 (0)