We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d6d314 commit 7beedebCopy full SHA for 7beedeb
packages/core/lib/env/aws_lambda.js
@@ -39,8 +39,7 @@ module.exports.init = function init() {
39
40
if (LambdaUtils.validTraceData(process.env._X_AMZN_TRACE_ID)) {
41
contextUtils.setSegment(facadeSegment());
42
- }
43
- else {
+ } else {
44
contextUtils.setSegment(noOpSegment());
45
}
46
};
@@ -185,4 +184,4 @@ var noOpSegment = function noOpSegment() {
185
184
186
187
return segment;
188
-};
+};
packages/core/lib/patchers/aws_p.js
@@ -103,7 +103,7 @@ function captureAWSRequest(req) {
103
104
var completeListener = function(res) {
105
if (subsegment == null) {
106
- return
+ return;
107
108
subsegment.addAttribute('namespace', 'aws');
109
subsegment.addAttribute('aws', new Aws(res, subsegment.name));
0 commit comments