log error on assertion failure

// FREEBIE
pull/1/head
Michael Kirk 7 years ago
parent f74c3a0e87
commit 8c592a373a

@ -477,6 +477,7 @@ protocol CallServiceObserver: class {
switch(untrustedIdentity!.verificationState) {
case .verified:
Logger.error("\(TAG) shouldn't have missed a call due to untrusted identity if the identity is verified")
assertionFailure("shouldn't have missed a call due to untrusted identity if the identity is verified")
self.notificationsAdapter.presentMissedCall(newCall, callerName: callerName)
case .default:

Loading…
Cancel
Save