Fix production build error

This commit is contained in:
Niels Andriesse 2020-12-03 17:00:15 +11:00
parent beeeddd7fc
commit 4f6d0b996a
1 changed files with 0 additions and 1 deletions

View File

@ -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
}