             switch taskResult {
             case .success(let data):
                 responseHandler(data)
-            case .failure(let reason):
-                print(reason.description())
+            case .failure(let error):
+                print(error)
             }
         }).resume()
     }

let kPALResourceIdentifierAttributeName = "__pal__resourceIdentifier"
let kPALLastModifiedAttributeName = "__pal__lastModified"

typealias InsertOrUpdateCompletion = (managedObjects:AnyObject, backingObjects:AnyObject) -> Void

@objc(CachingIncrementalStore)


    private let cache = NSMutableDictionary()
    
    /// The cache of managed object ids for the backing store
    private let backingObjectIDCache = NSCache<NSManagedObjectID, NSManagedObjectID>()
    
    /// A map of registered objects ids
    private let registeredObjectIDsMap = NSMutableDictionary()
    
    class var storeType: String {
        return String(describing: CachingIncrementalStore.self)
    }
    
    override class func initialize() {
