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

🏗 Add cdn to error reporting function, and update amp-errors.md #39635

Merged

Conversation

danielrozenberg
Copy link
Member

To support error reporting for different CDNs

@danielrozenberg danielrozenberg force-pushed the error-report-with-cdn-url branch from 71fb9f5 to 7c53a4b Compare November 17, 2023 20:26
@@ -10,23 +10,37 @@ the `betaErrorReportingUrl` config. E.g. for `cdn.ampproject.org`
The following fields are reported:

- `v=string` - AMP version
- `noamp={0,1}` - whether the document contains non-AMP JavaScript
Copy link
Member

Choose a reason for hiding this comment

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

was this just missed documentation before? (i do see in the testing code below, but just double checking)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, looks like we kept adding fields in error-reporting.js but rarely updated amp-errors.md to correspond. I wish we had something like go/ifttt for GitHub 😅

@danielrozenberg danielrozenberg enabled auto-merge (squash) November 20, 2023 16:20
@danielrozenberg danielrozenberg merged commit a3074cf into ampproject:main Nov 20, 2023
10 checks passed
@danielrozenberg danielrozenberg deleted the error-report-with-cdn-url branch November 28, 2023 16:20
eszponder pushed a commit to krzysztofequativ/amphtml that referenced this pull request Apr 22, 2024
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