-
-
Notifications
You must be signed in to change notification settings - Fork 225
Closed
Labels
FeatureNew feature or requestNew feature or request
Description
Hi, Sentry is great!
I am however missing a way to add an attachment to an outgoing event in the BeforeSend callback.
For example:
using var host = Host.CreateDefaultBuilder()
.ConfigureLogging((context, builder) =>
{
builder.AddSentry(options =>
{
options.BeforeSend = sentryEvent =>
{
sentryEvent.AddBreadcrumb("Hello"); // I can do this
sentryEvent.AddAttachment("Foo.txt"); // But I cannot do this
return sentryEvent;
};
};
})
.Build();Am I missing something, or this is a missing feature?
pistoleta
Metadata
Metadata
Assignees
Labels
FeatureNew feature or requestNew feature or request
Projects
Status
Done