Commit 0e46d0f5 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #10318 from jkschneider:patch-1

* pr/10318:
  Make WebMvcMetrics#tagWithException public
parents 224a4e46 71495d1a
......@@ -85,7 +85,7 @@ public class WebMvcMetrics {
this.recordAsPercentiles = recordAsPercentiles;
}
void tagWithException(Throwable exception) {
public void tagWithException(Throwable exception) {
RequestAttributes attributes = RequestContextHolder.getRequestAttributes();
attributes.setAttribute(EXCEPTION_ATTRIBUTE, exception,
RequestAttributes.SCOPE_REQUEST);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment