Skip to content

Commit 709ef3f

Browse files
committed
revert example change, it will break before the new release is out and will update the code after
1 parent 29b9360 commit 709ef3f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

examples/Tracing/src/HelloWorld/Function.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,6 @@ public async Task<APIGatewayProxyResponse> FunctionHandler(APIGatewayProxyReques
9191
gatewaySegment.AddAnnotation("AccountId", apigwProxyEvent.RequestContext.AccountId);
9292
gatewaySegment.AddMetadata("LookupRecord", lookupRecord);
9393

94-
Tracing.WithSubsegment("LoggingResponse",
95-
subsegment =>
96-
{
97-
subsegment.AddAnnotation("AccountId", apigwProxyEvent.RequestContext.AccountId);
98-
subsegment.AddMetadata("LookupRecord", lookupRecord);
99-
});
100-
101-
10294
try
10395
{
10496
await SaveRecordInDynamo(lookupRecord);

0 commit comments

Comments
 (0)