Fix Sentry errors

This commit is contained in:
Andy Uhnak
2022-12-14 16:30:53 +00:00
parent ed7107bd1e
commit 9022362c7b
3 changed files with 15 additions and 6 deletions
@@ -364,7 +364,7 @@ public class VoiceMessageController: NSObject, VoiceMessageToolbarViewDelegate,
}
private func deleteRecordingAtURL(_ url: URL?) {
guard let url = url else {
guard let url = url, FileManager.default.fileExists(atPath: url.absoluteString) else {
return
}