From 8477cfaf0e1ab0a8bb19e2bb6fa103e65ba7618b Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 28 Aug 2020 18:48:57 +0200 Subject: [PATCH] Actually include the Sentry ID in the logs --- PluralKit.Bot/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index eb8de635..1750b65f 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -139,7 +139,7 @@ namespace PluralKit.Bot _logger .ForContext("Elastic", "yes?") - .Error(exc, "Exception in event handler: {{SentryEventId}}", sentryEvent.EventId); + .Error(exc, "Exception in event handler: {SentryEventId}", sentryEvent.EventId); // If the event is us responding to our own error messages, don't bother logging if (evt is MessageCreateEventArgs mc && mc.Author.Id == _client.CurrentUser.Id)