File tree Expand file tree Collapse file tree 4 files changed +6
-0
lines changed
tests/integrations/aws_lambda/lambda_functions_with_embedded_sdk
RaiseErrorPerformanceDisabled
RaiseErrorPerformanceEnabled Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ def __init__(self, options):
204204
205205 Transport .__init__ (self , options )
206206 assert self .parsed_dsn is not None
207+ print ("[DEBUG] setting up a BaseHttpTransport" )
207208 self .options = options # type: Dict[str, Any]
208209 self ._worker = BackgroundWorker (queue_size = options ["transport_queue_size" ])
209210 self ._auth = self .parsed_dsn .to_auth ("sentry.python/%s" % VERSION )
@@ -559,6 +560,8 @@ def capture_envelope(
559560 self , envelope # type: Envelope
560561 ):
561562 # type: (...) -> None
563+ print ("[DEBUG] capture_envelope in BaseHttpTransport" )
564+
562565 def send_envelope_wrapper ():
563566 # type: () -> None
564567 with capture_internal_exceptions ():
Original file line number Diff line number Diff line change 77 dsn = os .environ .get ("SENTRY_DSN" ),
88 traces_sample_rate = None , # this is the default, just added for clarity
99 integrations = [AwsLambdaIntegration ()],
10+ debug = True ,
1011)
1112
1213
Original file line number Diff line number Diff line change 77 dsn = os .environ .get ("SENTRY_DSN" ),
88 traces_sample_rate = 1.0 ,
99 integrations = [AwsLambdaIntegration ()],
10+ debug = True ,
1011)
1112
1213
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ def trace_sampler(sampling_context):
3232 traces_sample_rate = 1.0 ,
3333 traces_sampler = trace_sampler ,
3434 integrations = [AwsLambdaIntegration ()],
35+ debug = True ,
3536)
3637
3738
You can’t perform that action at this time.
0 commit comments