Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

V3 Monitoring - Improve logging when queue message processing fails #410

Merged
merged 2 commits into from
Nov 26, 2018

Conversation

scottbommarito
Copy link

Added this when trying to debug why NuGet/NuGetGallery#6584 failed to deploy

If a validation fails to run, and its status fails to be saved, we don't properly log the exceptions. This change improves the logging so that when the job fails to process a queue message, we log everything to AI.

@@ -7,6 +7,8 @@ namespace NuGet.Services.Metadata.Catalog.Monitoring
{
public static class LogEvents
{
public static EventId QueueMessageFatalFailure = new EventId(905, "Failed to process queue message");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Order this line below by event ID? Then it's easier to see what the next unused ID is.

@scottbommarito scottbommarito merged commit a1a4bf4 into dev Nov 26, 2018
@scottbommarito scottbommarito deleted the sb-improvemonitoringprocessordequeue branch November 26, 2018 21:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants