mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Properly format Sentry message breadcrumbs
This commit is contained in:
parent
2aae92406a
commit
51b9afddea
1 changed files with 1 additions and 2 deletions
|
|
@ -175,9 +175,8 @@ namespace PluralKit.Bot
|
|||
|
||||
using (var serviceScope = _services.CreateScope())
|
||||
{
|
||||
SentrySdk.AddBreadcrumb("event.message", data: new Dictionary<string, string>()
|
||||
SentrySdk.AddBreadcrumb(message: _arg.Content, category: "event.message", data: new Dictionary<string, string>()
|
||||
{
|
||||
{"content", _arg.Content},
|
||||
{"user", _arg.Author.Id.ToString()},
|
||||
{"channel", _arg.Channel.Id.ToString()},
|
||||
{"guild", ((_arg.Channel as IGuildChannel)?.GuildId ?? 0).ToString()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue