Merge branch 'mkirk/fix-overzealous-assert'

pull/2/head
Michael Kirk 5 years ago
commit 6ad5faad12

@ -117,7 +117,8 @@ public class LinkPreviewDraft: NSObject, LinkPreviewState {
return nil
}
guard let image = UIImage(contentsOfFile: imageFilepath) else {
owsFail("Could not load image: \(imageFilepath)")
owsFailDebug("Could not load image: \(imageFilepath)")
return nil
}
return image
}

Loading…
Cancel
Save