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

WEB-1096: DataDog Errors #2409

Merged
merged 4 commits into from
Jun 20, 2024
Merged

WEB-1096: DataDog Errors #2409

merged 4 commits into from
Jun 20, 2024

Conversation

AlexandruPopovici
Copy link
Contributor

Description & motivation

Complete information in https://linear.app/speckle/issue/WEB-1096/clean-up-viewer-errors#comment-5f5a5b63
This PR fixes part of the reported errors, however for the remaining I could not find a way to replicate and there is a good chance that they are caused by data anomalies in speckle streams, in which case we need the actual data associated with the data dog report in order to be able to reproduce

Changes:

  • We're now catching possibe QuateExceeded errors from IDB in the local storage
  • findId with undefined or null id now returns null

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

  • My pull request follows the guidelines in the Contributing guide?
  • My pull request does not duplicate any other open Pull Requests for the same update/change?
  • My commits are related to the pull request and do not amend unrelated code or documentation.
  • My code follows a similar style to existing code.
  • I have added appropriate tests.
  • I have updated or added relevant documentation.

References

Copy link

linear bot commented Jun 19, 2024

}
return this.promisifyIdbRequest(store.transaction)
} catch (e) {
this.logger.error(e)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no longer a return in the function in the error scenario. Even if undefined/void is fine, we should be explicit about it.

@AlexandruPopovici AlexandruPopovici merged commit 829a196 into main Jun 20, 2024
21 of 23 checks passed
@AlexandruPopovici AlexandruPopovici deleted the alex/WEB-1096 branch June 20, 2024 09:38
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.

2 participants