Skip to content

Commit

Permalink
Better task results
Browse files Browse the repository at this point in the history
  • Loading branch information
flovilmart committed Dec 3, 2015
1 parent 2a31505 commit d94eb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ParseZero/ClassImporter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ internal struct ClassImporter: Importer {

return PFObject.pinAllInBackground(pfObjects).continueWithBlock({ (task) -> AnyObject? in
pzero_log("🎉 🎉 Successfully imported", pfObjects.count, "on", className, "in", NSDate.timeIntervalSinceReferenceDate()-d0)
return task
return BFTask(result: "Successfully imported \(pfObjects.count) on \(className)")
})

})
Expand Down

0 comments on commit d94eb14

Please sign in to comment.