Fix setError
MODIFY
dd-trace-ot/src/main/java/datadog/opentracing/DDSpan.java
dd-trace-ot/src/main/java/datadog/opentracing/DDSpan.java
@@ -109,7 +109,7 @@ public class DDSpan implements Span, MutableSpan {
@Override
public DDSpan setError(final boolean error) {
- context.setErrorFlag(true);
+ context.setErrorFlag(error);
return this;
}

Fix setError