Skip to content

Commit

Permalink
Stop sending full stack trace
Browse files Browse the repository at this point in the history
Signed-off-by: Mikayla Thompson <thomika@amazon.com>
  • Loading branch information
mikaylathompson committed Nov 15, 2023
1 parent 59ab072 commit 796b58b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public MetricsLogBuilder atError(MetricsEvent event, Throwable cause) {
}
return new MetricsLogBuilder(logger).atError(event)
.setAttribute(MetricsAttributeKey.EXCEPTION_MESSAGE, cause.getMessage())
.setAttribute(MetricsAttributeKey.EXCEPTION_STACKTRACE, cause.getStackTrace().toString())
.setAttribute(MetricsAttributeKey.EXCEPTION_TYPE, cause.getClass().getName());
}

Expand Down

0 comments on commit 796b58b

Please sign in to comment.