Include event ID in Sentry dump
This commit is contained in:
parent
7d1accd58d
commit
86d0b24758
@ -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…
Reference in New Issue
Block a user