File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 . TrimKeyPrefix ( $ "{ PROJECT_ID } :") ;
3737 } ) ;
3838
39+ builder . WebHost . UseSentry ( ) ;
40+
3941ConfigureServices ( builder . Services , builder . Configuration ) ;
4042ConfigureDataAccess ( builder . Services , builder . Configuration ) ;
4143
Original file line number Diff line number Diff line change 2020 <ItemGroup >
2121 <PackageReference Include =" Microsoft.Data.Sqlite" Version =" 7.0.16" />
2222 <PackageReference Include =" Microsoft.Extensions.Configuration.AzureAppConfiguration" Version =" 7.1.0" />
23+ <PackageReference Include =" Sentry.AspNetCore" Version =" 4.1.2" />
2324 <PackageReference Include =" SnooBrowser.Extensions.DependencyInjection" Version =" 3.0.4" />
2425 <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.4.0" />
2526 <PackageReference Include =" Swashbuckle.AspNetCore.Annotations" Version =" 6.4.0" />
Original file line number Diff line number Diff line change 1414 "AppId" : " " ,
1515 "AppSecret" : " " ,
1616 "RefreshToken" : " "
17+ },
18+ "Sentry" : {
19+ "Dsn" : " in app config" ,
20+ "SendDefaultPii" : false ,
21+ "MaxRequestBodySize" : " Always" ,
22+ "MinimumBreadcrumbLevel" : " Debug" ,
23+ "MinimumEventLevel" : " Warning" ,
24+ "AttachStackTrace" : true ,
25+ "Debug" : true ,
26+ "DiagnosticLevel" : " Error" ,
27+ "TracesSampleRate" : 1.0
1728 }
1829}
You can’t perform that action at this time.
0 commit comments