Skip to content

Commit

Permalink
Merge pull request #836 from skovhus/remove-invasive-remote-config-log
Browse files Browse the repository at this point in the history
Remove error log from RNFirebaseRemoteConfig
  • Loading branch information
chrisbianca authored Feb 17, 2018
2 parents 5ca7222 + 1623f38 commit 25ad0f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ios/RNFirebase/config/RNFirebaseRemoteConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ @implementation RNFirebaseRemoteConfig
(RCTPromiseRejectBlock) reject) {
[[FIRRemoteConfig remoteConfig] fetchWithCompletionHandler:^(FIRRemoteConfigFetchStatus status, NSError *__nullable error) {
if (error) {
RCTLogError(@"\nError: %@", RCTJSErrorFromNSError(error));
reject(convertFIRRemoteConfigFetchStatusToNSString(status), error.localizedDescription, error);
} else {
resolve(convertFIRRemoteConfigFetchStatusToNSString(status));
Expand All @@ -64,7 +63,6 @@ @implementation RNFirebaseRemoteConfig
rejecter:(RCTPromiseRejectBlock)reject) {
[[FIRRemoteConfig remoteConfig] fetchWithExpirationDuration:expirationDuration.doubleValue completionHandler:^(FIRRemoteConfigFetchStatus status, NSError *__nullable error) {
if (error) {
RCTLogError(@"\nError: %@", RCTJSErrorFromNSError(error));
reject(convertFIRRemoteConfigFetchStatusToNSString(status), error.localizedDescription, error);
} else {
resolve(convertFIRRemoteConfigFetchStatusToNSString(status));
Expand Down

0 comments on commit 25ad0f3

Please sign in to comment.