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

🏗 Simplify error reporting thresholds #39975

Merged

Conversation

danielrozenberg
Copy link
Member

@danielrozenberg danielrozenberg commented Apr 26, 2024

@@ -319,10 +334,7 @@ function onError(message, filename, line, col, error) {
} catch (ignore) {
// Ignore errors during error report generation.
}
if (hasNonAmpJs && Math.random() > 0.01) {
Copy link
Member

Choose a reason for hiding this comment

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

good catch!

@danielrozenberg danielrozenberg merged commit 0df5aa4 into ampproject:main Apr 29, 2024
52 checks passed
@danielrozenberg danielrozenberg deleted the error-reporting-thresholds branch April 29, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants