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

Handle unknown collections #106

Merged
merged 5 commits into from
Jan 15, 2025
Merged

Handle unknown collections #106

merged 5 commits into from
Jan 15, 2025

Conversation

davep
Copy link
Owner

@davep davep commented Jan 14, 2025

Based off what is reported in #104 it would appear that the Raindrop API can end up reporting that a group has collections where the collection doesn't actually exist. It's unclear how this situation can arise, and I can't personally make it happen.

However, whatever the cause, a collection within a group where the collection doesn't exist any more should be a collection to ignore, to pretend it doesn't exist. This PR seeks to implement that.

Fixes #104.

davep added 2 commits January 14, 2025 16:09
While I can't recreate it myself, looking at #104 it would appear that
Raindrop can be got into a state where the API will report that a group has
collections within it that don't actually exist any more. This commit seeks
to ignore such collection IDs.

So, with this change, a collection ID that isn't known to us is treated as
if it doesn't exist.
@davep davep added the Bug Something isn't working label Jan 14, 2025
@davep davep self-assigned this Jan 14, 2025
@davep davep marked this pull request as ready for review January 15, 2025 11:33
@davep davep merged commit 233d6e1 into main Jan 15, 2025
4 checks passed
@davep davep deleted the handle-unknown-collections branch January 15, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Braindrop crashing on load (with workaround)
1 participant