diff --git a/dd-java-agent/instrumentation/aws-java-sqs-1.0/src/main/java/datadog/trace/instrumentation/aws/v1/sqs/MessageExtractAdapter.java b/dd-java-agent/instrumentation/aws-java-sqs-1.0/src/main/java/datadog/trace/instrumentation/aws/v1/sqs/MessageExtractAdapter.java index fd72ad16d09..fe7ba0c5558 100644 --- a/dd-java-agent/instrumentation/aws-java-sqs-1.0/src/main/java/datadog/trace/instrumentation/aws/v1/sqs/MessageExtractAdapter.java +++ b/dd-java-agent/instrumentation/aws-java-sqs-1.0/src/main/java/datadog/trace/instrumentation/aws/v1/sqs/MessageExtractAdapter.java @@ -39,8 +39,8 @@ public void forEachKey(Message carrier, AgentPropagation.KeyClassifier classifie } else if (SHOULD_EXTRACT_CONTEXT_FROM_BODY) { try { this.forEachKeyInBody(carrier.getBody(), classifier); - } catch (IOException e) { - log.warn("Error extracting Datadog context from SQS message body", e); + } catch (Throwable e) { + log.debug("Error extracting Datadog context from SQS message body", e); } } }