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

feat(app-generic): add cluster pipeline logging in cache service #3256

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

p-fernandez
Copy link
Contributor

What change does this PR introduce?

Adds extra logging for the Cluster Pipeline execution inside of the Cache Service.

Why was this change needed?

We were receiving errors in Sentry that weren't captured in NewRelic.

Other information (Screenshots)

await pipeline.exec();
} catch (error) {
Logger.error(
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's rethrow this error, Otherwise we silence it and it can lead to strange errors

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is already silenced upstream in the InvalidateCache, FYI. But I will throw it to that layer as it was before.

@p-fernandez p-fernandez force-pushed the feat-add-cluster-pipeline-logging branch from 2a35c58 to cb5d727 Compare April 20, 2023 12:59
@p-fernandez p-fernandez added this pull request to the merge queue Apr 20, 2023
Merged via the queue into next with commit 6a62802 Apr 20, 2023
16 checks passed
@p-fernandez p-fernandez deleted the feat-add-cluster-pipeline-logging branch April 20, 2023 13:06
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.

None yet

2 participants