File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
packages/google-cloud-serverless/src/gcpfunction Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 1
1
import {
2
2
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
3
3
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
4
- Transaction ,
5
4
handleCallbackErrors ,
6
5
setHttpStatus ,
7
6
} from '@sentry/core' ;
@@ -59,14 +58,6 @@ function _wrapHttpFunction(fn: HttpFunction, options: Partial<WrapperOptions>):
59
58
request : req ,
60
59
} ) ;
61
60
62
- if ( span instanceof Transaction ) {
63
- // We also set __sentry_transaction on the response so people can grab the transaction there to add
64
- // spans to it later.
65
- // TODO(v8): Remove this
66
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
67
- ( res as any ) . __sentry_transaction = span ;
68
- }
69
-
70
61
// eslint-disable-next-line @typescript-eslint/unbound-method
71
62
const _end = res . end ;
72
63
// eslint-disable-next-line @typescript-eslint/no-explicit-any
You can’t perform that action at this time.
0 commit comments