Skip to content

[Bug] Handle duplicate snapshots on the client #88

Description

@richardd3ng
  • just catch this error and clear the history but do nothing, maybe say something like snapshots already posted or something in the alert
  • 2024-07-30 05:09:32 error: [GraphQLError] >> Message:: E11000 duplicate key error collection: test.snapshots index: timestamp_1_userId_1 dup key: { timestamp: 1722315663600.0, userId: ObjectId('667cfcfef7f2a050659075f7') }, Stack:: GraphQLError: E11000 duplicate key error collection: test.snapshots index: timestamp_1_userId_1 dup key: { timestamp: 1722315663600.0, userId: ObjectId('667cfcfef7f2a050659075f7') }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions