File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
libraries/src/AWS.Lambda.Powertools.Tracing/Internal Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,6 @@ private bool TracingDisabled()
238
238
239
239
private bool CaptureResponse ( TracingCaptureMode captureMode )
240
240
{
241
- if ( TracingDisabled ( ) )
242
- return false ;
243
-
244
241
return captureMode switch
245
242
{
246
243
TracingCaptureMode . EnvironmentVariable => _powertoolsConfigurations . TracerCaptureResponse ,
@@ -252,9 +249,6 @@ private bool CaptureResponse(TracingCaptureMode captureMode)
252
249
253
250
private bool CaptureError ( TracingCaptureMode captureMode )
254
251
{
255
- if ( TracingDisabled ( ) )
256
- return false ;
257
-
258
252
return captureMode switch
259
253
{
260
254
TracingCaptureMode . EnvironmentVariable => _powertoolsConfigurations . TracerCaptureError ,
You can’t perform that action at this time.
0 commit comments