Remove tag: activeSpan.tag(CommandError, cresult.getErrorMessage());

This commit is contained in:
lytscu 2017-11-20 17:21:13 +08:00
parent 626ef11fef
commit 242ce80096
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@ public class MongoDBCollectionMethodInterceptor implements InstanceMethodsAround
cresult = aresult.getCommandResult();
}
if (null != cresult && !cresult.ok()) {
activeSpan.tag("CommandError", cresult.getErrorMessage());
activeSpan.log(cresult.getException());
}
ContextManager.stopSpan();