expanded logging on DiscordNotificationJob.cs (#17)

This commit is contained in:
James Tombleson 2023-04-01 09:24:26 -07:00 committed by GitHub
parent 09fe274752
commit 1bc9b8d842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -100,7 +100,10 @@ public class DiscordNotificationJob
catch (Exception e)
{
_logger.Error($"Failed to post message to Discord. {e}");
continue;
_logger.Debug($"Queue Record: {request.ID}");
_logger.Debug($"Article: {articleDetails.ID}");
_logger.Debug($"Source: {sourceDetails.ID}");
_logger.Debug($"Subscription: {sub.ID}");
}
Thread.Sleep(3000);