mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Include event ID in Sentry dump
This commit is contained in:
parent
7d1accd58d
commit
86d0b24758
1 changed files with 2 additions and 0 deletions
|
|
@ -271,7 +271,9 @@ namespace PluralKit.Bot
|
|||
// and log the breadcrumb to the newly created (in-svc-scope) Sentry scope
|
||||
using (var scope = _services.CreateScope())
|
||||
{
|
||||
var evtid = scope.ServiceProvider.GetService<EventIdProvider>().EventId;
|
||||
var sentryScope = scope.ServiceProvider.GetRequiredService<Scope>();
|
||||
sentryScope.SetTag("evtid", evtid.ToString());
|
||||
breadcrumbFactory(sentryScope);
|
||||
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue