From 51b9afddead7b6c2456d54c1e00a38d3fd7a0b84 Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 16 Jul 2019 01:32:08 +0200 Subject: [PATCH] Properly format Sentry message breadcrumbs --- PluralKit.Bot/Bot.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index f97cd1d6..2333edf4 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -175,9 +175,8 @@ namespace PluralKit.Bot using (var serviceScope = _services.CreateScope()) { - SentrySdk.AddBreadcrumb("event.message", data: new Dictionary() + SentrySdk.AddBreadcrumb(message: _arg.Content, category: "event.message", data: new Dictionary() { - {"content", _arg.Content}, {"user", _arg.Author.Id.ToString()}, {"channel", _arg.Channel.Id.ToString()}, {"guild", ((_arg.Channel as IGuildChannel)?.GuildId ?? 0).ToString()}