Closed jonny-rimek closed 3 years ago
"When code is run in the Lambda environment, the lambda runtime automatically creates a segment for the function invocation and subsegments created in the function are added to the created segment. However, if the lambda function is run locally, segments are not automatically created and as such subsegment creation throws the "segment cannot be found" error. If you're running the lambda function locally, you should manually create a segment for the function execution."
I'm guessing it's a bug in the go sdk for xray