Skip to content

Commit

Permalink
Update HttpPlugin.ts for fix (apache/skywalking#11583)
Browse files Browse the repository at this point in the history
changing wrapEmit(span, res, false) to wrapEmit(span, res, false, 'end')
  • Loading branch information
liu-zhizhu authored Nov 23, 2023
1 parent 4f9a91d commit cbab4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/HttpPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class HttpPlugin implements SwPlugin {

if (res.statusMessage) span.tag(Tag.httpStatusMsg(res.statusMessage));

wrapEmit(span, res, false);
wrapEmit(span, res, false, 'end');
};

const responseCB = function (this: any, res: any) {
Expand Down

0 comments on commit cbab4e7

Please sign in to comment.