From 561e84669ec09901713bfbb109c3180a9cd70ef9 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 18 Sep 2019 17:36:50 -0300 Subject: [PATCH] Respond to CR. --- Signal/src/ViewControllers/ContactsPicker.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 } }