Actually include the Sentry ID in the logs

This commit is contained in:
Ske 2020-08-28 18:48:57 +02:00
parent a2128da2a1
commit 8477cfaf0e

View File

@ -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)