TF-1813 Add log stackTrace in ExceptionThrower
(cherry picked from commit a1634ad2553fb331603738620b416a5a7dda66a8)
This commit is contained in:
@@ -51,9 +51,7 @@ class CacheFCMDatasourceImpl extends FCMDatasource {
|
||||
Future<void> storeSubscription(FCMSubscriptionCache fcmSubscriptionCache) {
|
||||
return Future.sync(() async {
|
||||
return await _firebaseCacheManager.storeSubscription(fcmSubscriptionCache);
|
||||
}).catchError((error) {
|
||||
_exceptionThrower.throwException(error);
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user