diff --git a/Signal/src/ViewControllers/ContactsPicker.swift b/Signal/src/ViewControllers/ContactsPicker.swift index e20fb1debf..b641a8dd83 100644 --- a/Signal/src/ViewControllers/ContactsPicker.swift +++ b/Signal/src/ViewControllers/ContactsPicker.swift @@ -217,8 +217,7 @@ public class ContactsPicker: OWSViewController, UITableViewDelegate, UITableView Logger.error("Failed to fetch contacts with error:\(error)") } @unknown default: - owsFailDebug("Unexpected enum value.") - errorHandler(OWSErrorMakeAssertionError("Unexpected enum value")) + errorHandler(OWSAssertionError("Unexpected enum value")) break } }