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

decoupled json decode and allow for errors #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DanielALS
Copy link

@DanielALS DanielALS commented May 17, 2019

If a CF database doesn't have any properties yet, a call to findByArgs returns an invalid json.
This is a quick and dirty fix for now, to decode the json separately and return None if it fails.

rec_sync's recceiver component does this and is causing exceptions for me. It's reasonable to not
have any DB entries yet when first building a CF DB and to use rec_sync to help build entries.

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.

1 participant