Skip to content

Commit

Permalink
remove log & widen exception
Browse files Browse the repository at this point in the history
  • Loading branch information
piochelepiotr committed Dec 10, 2024
1 parent af87d96 commit bde98d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit bde98d2

Please sign in to comment.