Added sentry support
This commit is contained in:
@@ -14,6 +14,8 @@ SentrySdk.Init(options =>
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
var app = builder.Build();
|
||||
|
||||
app.UseMiddleware<ExceptionHandlerMiddleware>();
|
||||
|
||||
app.MapPost("/Print", async (HttpContext context) =>
|
||||
{
|
||||
var request = context.Request;
|
||||
|
||||
Reference in New Issue
Block a user