Skip to content

Commit 71495d1

Browse files
jkschneidersnicoll
authored andcommitted
Make WebMvcMetrics#tagWithException public
Closes gh-10318
1 parent 224a4e4 commit 71495d1

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet

1 file changed

+1
-1
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public WebMvcMetrics(MeterRegistry registry, WebMvcTagsProvider tagsProvider,
8585
this.recordAsPercentiles = recordAsPercentiles;
8686
}
8787

88-
void tagWithException(Throwable exception) {
88+
public void tagWithException(Throwable exception) {
8989
RequestAttributes attributes = RequestContextHolder.getRequestAttributes();
9090
attributes.setAttribute(EXCEPTION_ATTRIBUTE, exception,
9191
RequestAttributes.SCOPE_REQUEST);

0 commit comments

Comments
 (0)