Skip to content

Adding custom Sentry error for writing trials.#393

Open
Zio-4 wants to merge 1 commit intomainfrom
add-custom-sentry-error
Open

Adding custom Sentry error for writing trials.#393
Zio-4 wants to merge 1 commit intomainfrom
add-custom-sentry-error

Conversation

@Zio-4
Copy link
Collaborator

@Zio-4 Zio-4 commented Oct 23, 2025

Title

@Zio-4 Zio-4 changed the title Adding custom Sentry error for writing trails. Adding custom Sentry error for writing trials. Oct 23, 2025
Copy link
Collaborator

@asengupta3 asengupta3 left a comment

Choose a reason for hiding this comment

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

LGTM!

config.firekit.writeTrial(dataCopy, computedScoreCallback);
} else {
config.firekit.writeTrial(dataCopy);
config.firekit.writeTrial(dataCopy).catch((error: any) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's use async await if possible. Makes it easier to read?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We want to avoid using async-await here because we don't want this request to be blocking in case it adds extra delay between trials.

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.

3 participants