Skip to content

Commit

Permalink
Don't block on failure to delete TSAttachment folder
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-signal authored and sashaweiss-signal committed Dec 12, 2024
1 parent 37cd605 commit ea56f3d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ extension TSAttachmentMigration {
)!.path
let attachmentsFolder = rootPath.appendingPathComponent("Attachments")
guard OWSFileSystem.deleteFileIfExists(attachmentsFolder) == true else {
owsFail("Unable to delete folder!")
owsFailDebug("Unable to delete folder!")
return
}
}

Expand Down

0 comments on commit ea56f3d

Please sign in to comment.