fix crash caused by assertion failure in PN registration

pull/247/head
Ryan ZHAO 4 years ago
parent 33d23b3e51
commit 9ebbaab9da

@ -192,7 +192,7 @@ public enum PushRegistrationError: Error {
}.map { (pushTokenData: Data) -> String in
if self.isSusceptibleToFailedPushRegistration {
// Sentinal in case this bug is fixed
owsFailDebug("Device was unexpectedly able to complete push registration even though it was susceptible to failure.")
OWSLogger.debug("Device was unexpectedly able to complete push registration even though it was susceptible to failure.")
}
return pushTokenData.hexEncodedString

Loading…
Cancel
Save