Skip to content

Commit

Permalink
fix: init
Browse files Browse the repository at this point in the history
  • Loading branch information
sqlwwx committed May 25, 2021
1 parent faefc5f commit b8661f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/extend/application.js
Expand Up @@ -22,7 +22,7 @@ module.exports = {
},
initSpan(name, tags) {
global.als.enterWith(new Map([[ 'layerCount', 1 ]]));
this.startSpan(name, tags);
return this.startSpan(name, tags);
},
startSpan(name, tags = {}) {
this.coreLogger.debug('[egg-jaeger] startSpan %s', name);
Expand Down

0 comments on commit b8661f3

Please sign in to comment.