Skip to content

Commit

Permalink
Additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Wright authored and Lee Wright committed Jun 5, 2024
1 parent c07533c commit 8f5cccd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public async Task<Task> HandleAsync(string consumerName, string key, Notificatio

using var trx = this.context.Database.BeginTransaction();


Log.Logger.Information("Message received on {0} with key {1}", consumerName, key);
//check whether this message has been processed before
if (await this.context.HasBeenProcessed(key, consumerName))
Expand All @@ -36,7 +35,6 @@ public async Task<Task> HandleAsync(string consumerName, string key, Notificatio
{
Log.Information($"Marking access request {value.AccessRequestId} as {value.Status}");


try
{
accessRequest.Status = value.Status;
Expand Down

0 comments on commit 8f5cccd

Please sign in to comment.