From 2f7da902c9afeb3df31f59fa6c16223990f51eb6 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 14 Dec 2022 10:38:08 +0100 Subject: feat: Working email validation --- code/api/src/Services/MailService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/api/src/Services/MailService.cs') diff --git a/code/api/src/Services/MailService.cs b/code/api/src/Services/MailService.cs index 4d789dd..e724b89 100644 --- a/code/api/src/Services/MailService.cs +++ b/code/api/src/Services/MailService.cs @@ -47,7 +47,7 @@ public class MailService var response = await _httpClient.PostAsJsonAsync("https://api.postmarkapp.com/email", message); _logger.LogInformation("Postmark returned with message: {0}", (await response.Content.ReadFromJsonAsync()).Message); } catch (Exception e) { - _logger.LogError(e, "An exception occured while trying to send an email"); + _logger.LogError(e, "A silent exception occured while trying to send an email"); } } -- cgit v1.3