1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Trace AWS operations & share TLS connector with mas-http

This commit is contained in:
Quentin Gliech
2022-11-03 17:45:49 +01:00
parent b5fd54bbf4
commit a414936484
9 changed files with 125 additions and 50 deletions

View File

@@ -195,7 +195,7 @@ impl EmailTransportConfig {
.context("failed to build SMTP transport")
}
EmailTransportConfig::Sendmail { command } => Ok(MailTransport::sendmail(command)),
EmailTransportConfig::AwsSes => Ok(MailTransport::aws_ses().await),
EmailTransportConfig::AwsSes => Ok(MailTransport::aws_ses().await?),
}
}
}