e.printStackTrace -> Log.e(...)

This commit is contained in:
Michele Bombardi 2017-09-27 13:16:07 +02:00
parent e5856279df
commit c5d4ca6e9b
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public class RNFirebaseMessaging extends ReactContextBaseJavaModule implements L
FirebaseInstanceId.getInstance().deleteInstanceId();
promise.resolve(null);
} catch (IOException e) {
e.printStackTrace();
Log.e(TAG, e.getMessage());
promise.reject(null, e.getMessage());
}
}