Fix `@sentry/cloudflare` README setup example

Open Beginner friendly
#24,544 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
documentation

Research direction

Update the @sentry/cloudflare README setup example. Check the import from @sentry/cloudflare/request and the Workers example using Sentry.withSentry(); done means the example no longer references the undefined withSentry().

Written by the indexing model from the issue text.

Description

javascript Package: cloudflare Task

Import wrapRequestHandler from @sentry/cloudflare/request. Fix the Workers example to call Sentry.withSentry() instead of the undefined withSentry().

Dominant language
TypeScript
Stars
8.7k
Forks
1.9k
Avg merge
1d 18h
Merged PRs (30d)
543

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-javascript

All issues in getsentry/sentry-javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.