fix crash caused by assertion failure in PN registration

This commit is contained in:
Ryan ZHAO 2020-08-19 10:24:21 +10:00
parent 33d23b3e51
commit 9ebbaab9da
1 changed files with 1 additions and 1 deletions

View File

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