Skip to content

docs(js): Add Express to the Cloudflare quick start - #20929

Draft
JPeer264 wants to merge 1 commit into
masterfrom
jp/express-cloudflare
Draft

JPeer264 wants to merge 1 commit into
masterfrom
jp/express-cloudflare

Conversation

@JPeer264

Copy link
Copy Markdown
Member

follow up to getsentry/sentry-javascript#24845

This adds Express to the framework selector of the Cloudflare quick start. With Express selected, the page shows the httpServerHandler Worker entry and the Express verify snippet, as the Bun and Deno quick starts do. The Express guide now links Cloudflare Workers next to Node.js, Bun and Deno.

Why

Since @sentry/cloudflare 11.15.0, the Vite plugin names Express requests after their route and captures route errors on Workers (getsentry/sentry-javascript#26559, getsentry/sentry-javascript#26560). The docs had no Express setup for Cloudflare.

Known issues

  • On Cloudflare, routes of a mounted router (app.use("/api", router)) lose the mount path. The Express block shows this as a warning.

The Cloudflare quick start gets Express in its framework selector. With
Express selected, it shows the `httpServerHandler` Worker entry and the
Express verify snippet, as the Bun and Deno quick starts do. The Express
guide links Cloudflare Workers next to Node.js, Bun and Deno.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
develop-docs Ready Ready Preview Nov 20, 2026 7:37pm UTC
sentry-docs Ready Ready Preview Nov 20, 2026 7:37pm UTC

Request Review

This branch was successfully deployed

2 active deployments
Preview – sentry-docs — 10ca6393 Deployed Nov 20, 2026 by vercel[bot]
Preview – develop-docs — 10ca6393 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Needs Triage The PR description is missing valid priority information

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant