From f36b9a887fca2b48ec81194adcfc3d57759bc0f6 Mon Sep 17 00:00:00 2001 From: Elvis Date: Wed, 8 Jul 2020 13:37:44 -0500 Subject: [PATCH] Remove forced crash in cacheOrPurgeData --- Sources/Networking+Private.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/Networking+Private.swift b/Sources/Networking+Private.swift index 92aa8f5..aaf4b20 100644 --- a/Sources/Networking+Private.swift +++ b/Sources/Networking+Private.swift @@ -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 }