Skip to content

Commit 77c3ddf

Browse files
committed
more jsdoc
1 parent 171aad5 commit 77c3ddf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cloudflare/src/request.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ interface RequestHandlerWrapperOptions {
2121
/**
2222
* If true, errors will be captured, rethrown and sent to Sentry.
2323
* 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+
*
2429
* @default true
2530
*/
2631
captureErrors?: boolean;

0 commit comments

Comments
 (0)