chore: Log warning if firebase token problem

This commit is contained in:
Christian Pauly 2021-01-18 17:38:37 +01:00
parent 8d6642c07d
commit 90867e6e54

View File

@ -34,8 +34,9 @@ abstract class FirebaseController {
String token;
try {
token = await _firebaseMessaging.getToken();
} catch (_) {
} catch (e, s) {
token = null;
Logs().w('Unable to get firebase token', e, s);
}
if (token?.isEmpty ?? true) {
final storeItem = await matrix.store.getItem(SettingKeys.showNoGoogle);