Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Comments

Use NSAssert to check MOC saves without errors in operations.#63

Open
lukestringer90 wants to merge 1 commit intomasterfrom
strict-operation-saving
Open

Use NSAssert to check MOC saves without errors in operations.#63
lukestringer90 wants to merge 1 commit intomasterfrom
strict-operation-saving

Conversation

@lukestringer90
Copy link
Contributor

When the context does not successfully save from within an operation then
the error is made available from the error property. However recovering
from an error once the operation has finished is next to impossible as you
do not have access to the context that failed. Therefore is it better to
just hard crash and fix the bug when you know the save failed.

When the context does not successfully save from within an operation then
the error is made available from the error property. However recovering
from an error once the operation has finished is next to impossible as you
do not have access to the context that failed. Therefore is it better to
just hard crash and fix the bug when you know the save failed.
@lukestringer90 lukestringer90 self-assigned this Sep 8, 2015
@lukestringer90 lukestringer90 added this to the 1.0.0 milestone Sep 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants