mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-07 17:47:14 +00:00
Add tracing annotations
This patch changes several internal packages to receive and pass tracing annotations, making use of the new tracing library, so we can have better debugging information.
This commit is contained in:
@@ -163,7 +163,7 @@ func (a *attempt) deliver(mx string) (error, bool) {
|
||||
a.tr.Debugf("Insecure - NOT using TLS")
|
||||
}
|
||||
|
||||
if !a.courier.Dinfo.OutgoingSecLevel(a.toDomain, secLevel) {
|
||||
if !a.courier.Dinfo.OutgoingSecLevel(a.tr, a.toDomain, secLevel) {
|
||||
// We consider the failure transient, so transient misconfigurations
|
||||
// do not affect deliveries.
|
||||
slcResults.Add("fail", 1)
|
||||
|
||||
Reference in New Issue
Block a user