Skip to content

Commit 12790c0

Browse files
authored
Merge pull request #731 from bcgov/yj
chore: debugging CHES email error
2 parents cf2f46d + 39e8c72 commit 12790c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/StrDss.Service/EmailMessageService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public async Task<string> SendEmailAsync(EmailContent emailContent)
6262
}
6363

6464
var jsonContent = emailContent.ToString();
65+
66+
_logger.LogDebug($"CHES: {jsonContent}");
67+
6568
var httpContent = new StringContent(jsonContent, Encoding.UTF8, "application/json");
6669

6770
var response = await _httpClient.PostAsync($"{chesUrl}/api/v1/email", httpContent);

0 commit comments

Comments
 (0)