We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171aad5 commit 77c3ddfCopy full SHA for 77c3ddf
packages/cloudflare/src/request.ts
@@ -21,6 +21,11 @@ interface RequestHandlerWrapperOptions {
21
/**
22
* If true, errors will be captured, rethrown and sent to Sentry.
23
* Otherwise, errors are rethrown but not captured.
24
+ *
25
+ * You most likely don't want to set this to `false`, if you use `wrapRequestHandler` directly.
26
+ * This is primarily meant as an escape hatch for higher-level SDKs relying on additional error
27
+ * capturing mechanisms where this wrapper captures errors too early or too generally.
28
29
* @default true
30
*/
31
captureErrors?: boolean;
0 commit comments