diff --git a/Sources/Networking+Private.swift b/Sources/Networking+Private.swift index aaf4b20..065e46c 100644 --- a/Sources/Networking+Private.swift +++ b/Sources/Networking+Private.swift @@ -424,7 +424,6 @@ extension Networking { func cacheOrPurgeJSON(object: Any?, path: String, cacheName: String?, cachingLevel: CachingLevel) throws { 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 } @@ -468,7 +467,6 @@ extension Networking { @discardableResult func cacheOrPurgeImage(data: Data?, path: String, cacheName: String?, cachingLevel: CachingLevel) -> Image? { 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 nil }