codeintel: only observe DB.Done error if it is a commit/rollback error
Created by: efritz
Only emit an error metric when the call to Done produces a new error. The previous behavior emits an error on all rollbacks, which is undesireable.
Created by: efritz
Only emit an error metric when the call to Done produces a new error. The previous behavior emits an error on all rollbacks, which is undesireable.