Merge pull request #1202 from DataDog/cecile/setError

Cecile/set error
This commit is contained in:
Cecile terpin 2020-02-06 17:47:21 +01:00 committed by GitHub
commit 0e86cf6312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public class DDSpan implements Span, MutableSpan {
@Override
public DDSpan setError(final boolean error) {
context.setErrorFlag(true);
context.setErrorFlag(error);
return this;
}