Skip to content

Commit

Permalink
Remove forced crash in cacheOrPurgeData
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Jul 8, 2020
1 parent c41d51a commit f36b9a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Networking+Private.swift
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ extension Networking {

func cacheOrPurgeData(data: Data?, path: String, cacheName: String?, cachingLevel: CachingLevel) {
guard let destinationURL = try? self.destinationURL(for: path, cacheName: cacheName) else {
assertionFailure("Couldn't get destination URL for path: \(path) and cacheName: \(String(describing: cacheName))")
return
}

Expand Down

0 comments on commit f36b9a8

Please sign in to comment.