Skip to content

Log Cf-Ray header if present when fetch fails - #2222

Merged
tidoust merged 2 commits into
mainfrom
cf-ray
Nov 24, 2026
Merged

tidoust merged 2 commits into
mainfrom
cf-ray

Conversation

@tidoust

@tidoust tidoust commented Nov 24, 2026

Copy link
Copy Markdown
Member

Cloudflare adds a Cf-Ray header to HTTP responses that can be useful for debugging purpose when exchanging with server maintainers when a request gets rejected for some reason (for example, requests sent to registry.khronos.org are currently rejected by the server when the crawler runs in a GitHub workflow). This logs the date and the Cf-Ray in the error message.

Cloudflare adds a `Cf-Ray` header to HTTP responses that can be useful for
debugging purpose when exchanging with server maintainers when a request gets
rejected for some reason (for example, requests sent to registry.khronos.org
are currently rejected by the server when the crawler runs in a GitHub
workflow). This logs the date and the `Cf-Ray` in the error message.
@tidoust
tidoust requested a review from deniak November 24, 2026 07:59
Comment thread src/lib/util.js Resolved
Co-authored-by: Denis Ah-Kang <1696128+deniak@users.noreply.github.com>
@tidoust
tidoust merged commit 09608da into main Nov 24, 2026
1 check passed
@tidoust
tidoust deleted the cf-ray branch November 24, 2026 13:28
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