Actually include the Sentry ID in the logs
This commit is contained in:
parent
a2128da2a1
commit
8477cfaf0e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user