Skip to content

Commit

Permalink
Record exceptions
Browse files Browse the repository at this point in the history
Set `RecordException` for HTTP requests.
  • Loading branch information
martincostello committed Jan 26, 2024
1 parent cd34464 commit bfde017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LondonTravel.Skill/AlexaFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ protected virtual void ConfigureServices(IServiceCollection services)
.ConfigureResource((builder) => builder.AddService(SkillTelemetry.ServiceName, serviceVersion: SkillTelemetry.ServiceVersion))
.WithTracing((builder) =>
{
builder.AddHttpClientInstrumentation()
builder.AddHttpClientInstrumentation((p) => p.RecordException = true)
.AddSource(SkillTelemetry.ServiceName);
if (IsRunningInAwsLambda())
Expand Down

0 comments on commit bfde017

Please sign in to comment.