e.printStackTrace -> Log.e(...)
This commit is contained in:
parent
e5856279df
commit
c5d4ca6e9b
|
@ -80,8 +80,8 @@ public class RNFirebaseMessaging extends ReactContextBaseJavaModule implements L
|
|||
FirebaseInstanceId.getInstance().deleteInstanceId();
|
||||
promise.resolve(null);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
promise.reject(null,e.getMessage());
|
||||
Log.e(TAG, e.getMessage());
|
||||
promise.reject(null, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue