                         cachedFiles[fileUrl] = resourceValues
                     }
                 }
-            } catch _ { }
+            } catch {
+                print("DataCache: Error while iterating files \(error.localizedDescription)")
+            }
         }
         
         return (urlsToDelete, diskCacheSize, cachedFiles)

            for fileURL in URLsToDelete {
                do {
                    try self.fileManager.removeItem(at: fileURL)
                } catch _ { }
            }
            
            if self.maxDiskCacheSize > 0 && diskCacheSize > self.maxDiskCacheSize {

                    
                    do {
                        try self.fileManager.removeItem(at: fileURL)
                    } catch {
                        print("DataCache: Error while removing files \(error.localizedDescription)")
                    }
                    
                    URLsToDelete.append(fileURL)
                    
