Skip to content

Commit

Permalink
RUM-3175 revert try?
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshnj committed Sep 25, 2024
1 parent fd9711a commit 7a2ce97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DatadogCore/Sources/Core/Storage/Files/Directory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ internal struct Directory: DirectoryProtocol {
try retry(times: 3, delay: 0.001) {
try files().forEach { file in
let destinationFileURL = destinationDirectory.url.appendingPathComponent(file.name)
try retry(times: 3, delay: 0.0001) {
try? retry(times: 3, delay: 0.0001) {
try FileManager.default.moveItem(at: file.url, to: destinationFileURL)
}
}
Expand Down

0 comments on commit 7a2ce97

Please sign in to comment.