Sonar started complaining about inadequate DB transaction handling, but the variable is a Datadog APM tracer, not a DB transaction:
How can we fix this?
Sonar started complaining about inadequate DB transaction handling, but the variable is a Datadog APM tracer, not a DB transaction:
How can we fix this?
Not only Datadog tracer, godre:S8168 seems to be interpreting as DB transactions to rollback any variable returned by any method called Begin().
Hi,
Can you give your context for this? I.e. are you on SonarQube Cloud? SonarQube for IDE (flavor and version)? SonarQube self-managed (flavor and version)?
Thx,
Ann
Ciao Ann ![]()
I don’t know about the OP, but I got this issue on SonarCloud.
Hi Carlo ![]()
Thanks for the context. I’ll flag this for the language experts.
Ann
We’re using SonarCloud too
Hi Daniel,
Thanks for the great report! It made reproducing the issue very easy. I’ve opened a ticket and we’ll get a fix out as soon as possible.
Cheers,
Erwan