Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove error handling that never worked and fix imports #89

Merged
merged 1 commit into from
Feb 19, 2014
Merged

Conversation

dannyroberts
Copy link
Member

No description provided.

bad = XFormError.get(doc_id)
bad.problem = unicode(e)
bad.save()
return bad
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain how this wasn't working?

from couchforms.signals import xform_saved
from dimagi.utils.couch import uid
import re
from restkit.errors import ResourceNotFound
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only API change should be that fetch_and_wrap_form (below) should now raise couchdbkit.exceptions.ResourceNotFound instead of restkit.errors.ResourceNotFound. I'll change this where it's called.

czue added a commit that referenced this pull request Feb 19, 2014
remove error handling that never worked and fix imports
@czue czue merged commit 5d0ec90 into master Feb 19, 2014
@czue czue deleted the cleanup branch February 19, 2014 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants