Add key value to deserialize errors

This commit is contained in:
mdecimus
2024-10-17 17:41:48 +02:00
parent 9e78aaa751
commit 3635577706
6 changed files with 14 additions and 6 deletions

View File

@@ -559,7 +559,8 @@ impl DmarcReporting for Server {
}
},
)
.await.caused_by(trc::location!())?;
.await
.caused_by(trc::location!())?;
for (record, count) in record_map {
report = report.with_record(record.with_count(count));

View File

@@ -366,7 +366,8 @@ impl TlsReporting for Server {
Ok(true)
}
})
.await.caused_by(trc::location!())?;
.await
.caused_by(trc::location!())?;
// Add policy
report.policies.push(Policy {