Fix production build error
This commit is contained in:
parent
beeeddd7fc
commit
4f6d0b996a
|
@ -650,7 +650,6 @@ static NSTimeInterval launchStartedAt;
|
|||
OWSLogWarn(@"We're in debug mode. Faking success for remote registration with a fake push identifier.");
|
||||
[self.pushRegistrationManager didReceiveVanillaPushToken:[[NSMutableData dataWithLength:32] copy]];
|
||||
#else
|
||||
OWSProdError([OWSAnalyticsEvents appDelegateErrorFailedToRegisterForRemoteNotifications]);
|
||||
[self.pushRegistrationManager didFailToReceiveVanillaPushTokenWithError:error];
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue