Skip to content

Commit

Permalink
Update log message + level in RemoveOrphanedSubscriptions to remove…
Browse files Browse the repository at this point in the history
… unnecessary noise from exception
  • Loading branch information
sfmskywalker committed Dec 6, 2024
1 parent 2c70b98 commit 17a692c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ await Task.WhenAll(
}
catch (ServiceBusException ex) when (ex.Reason == ServiceBusFailureReason.MessagingEntityNotFound)
{
logger.LogWarning(ex, "Service bus entity {entityPath} was not found", ex.EntityPath);
logger.LogInformation("Cannot remove subscription {Subscription} of topic {Topic} because entity {EntityPath} was not found. The subscription has already been removed.", subscription.SubscriptionName, subscription.TopicName, ex.EntityPath);
}
}
}
Expand Down

0 comments on commit 17a692c

Please sign in to comment.