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

data saving - retry connect if doc doesn't exist? #85

Open
emilyliquin opened this issue Sep 19, 2023 · 2 comments
Open

data saving - retry connect if doc doesn't exist? #85

emilyliquin opened this issue Sep 19, 2023 · 2 comments
Assignees

Comments

@emilyliquin
Copy link
Contributor

Need to review the code -- but if the first connection to firestore fails, will all subsequent attempts to save data fail (because the doc doesn't exist)?
If so, we could add some way to handle this error (create the doc if it doesn't exist, each time the data saves)

@emilyliquin
Copy link
Contributor Author

Also at the end of the study, try to READ the data and see if the document is there/complete.
If it's not, then try one last time.
Maybe print the data and ask the participant to copy and send it to us manually?

@emilyliquin
Copy link
Contributor Author

tries to connect if the participant isn't a known user upon data save: 7b3f348

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

No branches or pull requests

2 participants