-
Notifications
You must be signed in to change notification settings - Fork 120
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
[Survey sync] Sync fails silently #2377
Comments
Is it possible that this is not being initialized multiple times, but is being initialized late? |
If that's the case, then swallowing the exception won't help. Is my understanding correct? |
We don't call |
The exception says that the setting can't be updated once it is started. I'm not 100% sure whether their definition of started means initialised or something else |
Fair point. Tbh I'm not sure how to repro this issue; it might be because the provider was used from two components, and thus initialized two times. #2380 will log an error if this happens, so hopefully that will give us more insight. |
This occurred the first time I tried to collect data with the Lacuna survey, causing data to not be synced. I put the app to in the background and killed the app several times while collecting data. I wonder if this is why the error was reproduced. Restarting the app the data eventually syncs on the next attempt. Here's the full stack trace:
|
Issues found so far:
|
The text was updated successfully, but these errors were encountered: