code cleaup
All checks were successful
Dotnet build and test / build (pull_request) Successful in 12m25s

This commit is contained in:
Paul Schneider 2026-09-20 21:06:02 +01:00
commit 93fd4e61ad
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
3 changed files with 4 additions and 36 deletions

View file

@ -140,6 +140,10 @@ namespace Yavsc.Services
catch (FormatException ex)
{
logger.LogError(ex, "Refusing to send email because the recipient or sender address is malformed. To={To}, From={From}", email, siteSettings.Owner.EMail);
logger.LogError(ex.Message);
if (ex.InnerException!=null)
logger.LogError(ex.InnerException.Message);
return string.Empty;
}
catch (SmtpCommandException ex)