Skip to content

Commit

Permalink
Ignore removeItem errors on app reset
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfreeman committed Nov 16, 2022
1 parent f2560ce commit a982649
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class FileStorage {

for path in contents {
let url = baseURL.appendingPathComponent(path)
try FileManager.default.removeItem(at: url)
try? FileManager.default.removeItem(at: url)
}
}

Expand Down

0 comments on commit a982649

Please sign in to comment.