log error on assertion failure

// FREEBIE
This commit is contained in:
Michael Kirk 2017-06-07 10:12:01 -04:00
parent f74c3a0e87
commit 8c592a373a

View file

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