From ba86dc76dec7be616c46d54f47a8287a4457b4db Mon Sep 17 00:00:00 2001 From: Xuan <112967240+xuan-cao-swi@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:38:25 -0400 Subject: [PATCH] Update instrumentation/aws_lambda/lib/opentelemetry/instrumentation/aws_lambda/handler.rb Co-authored-by: Kayla Reopelle (she/her) <87386821+kaylareopelle@users.noreply.github.com> --- .../lib/opentelemetry/instrumentation/aws_lambda/handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/aws_lambda/lib/opentelemetry/instrumentation/aws_lambda/handler.rb b/instrumentation/aws_lambda/lib/opentelemetry/instrumentation/aws_lambda/handler.rb index b272473f5..1e3ce57cf 100644 --- a/instrumentation/aws_lambda/lib/opentelemetry/instrumentation/aws_lambda/handler.rb +++ b/instrumentation/aws_lambda/lib/opentelemetry/instrumentation/aws_lambda/handler.rb @@ -108,7 +108,7 @@ def extract_parent_context(event) getter: OpenTelemetry::Context::Propagation.text_map_getter ) rescue StandardError => e - OpenTelemetry.logger.error("aws-lambda instrumentation exception occur while extracting parent context: #{e.message}") + OpenTelemetry.logger.error("aws-lambda instrumentation exception occurred while extracting the parent context: #{e.message}") OpenTelemetry::Context.empty end