MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / fetch

Function fetch

packages/cloudflare/test/withSentry.test.ts:40–42  ·  view source on GitHub ↗
(_request, _env, _context)

Source from the content-addressed store, hash-verified

38
39 const honoApp: HonoLikeApp = {
40 fetch(_request, _env, _context) {
41 return new Response('test');
42 },
43 onError() {},
44 errorHandler(err: Error) {
45 return new Response(`Error: ${err.message}`, { status: 500 });

Callers 14

handleTunnelRequestFunction · 0.50
fetchWithTimeoutFunction · 0.50
makeRequestFunction · 0.50
createFetchErrorMethod · 0.50
registerMethod · 0.50
nextMethod · 0.50
errorMethod · 0.50
startSentryTunnelMethod · 0.50
deno-serve.test.tsFile · 0.50
fnFunction · 0.50
makeRequestFunction · 0.50
downloadFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected