mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Actually include the Sentry ID in the logs
This commit is contained in:
parent
a2128da2a1
commit
8477cfaf0e
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ namespace PluralKit.Bot
|
||||||
|
|
||||||
_logger
|
_logger
|
||||||
.ForContext("Elastic", "yes?")
|
.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 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)
|
if (evt is MessageCreateEventArgs mc && mc.Author.Id == _client.CurrentUser.Id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue