Skip to content

Commit 0e46d0f

Browse files
committed
Merge pull request #10318 from jkschneider:patch-1
* pr/10318: Make WebMvcMetrics#tagWithException public
2 parents 224a4e4 + 71495d1 commit 0e46d0f

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)