Add Hint
support to beforeSend and Event processors #1469
Closed
Description
opened on Feb 4, 2022
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?
Metadata
Assignees
Labels
Type
Projects
Status
Done
Activity