You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 49e2940
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spring): Handle transaction name provider failures
Keep Spring requests and event capture running when a transaction name provider
throws. Use an unlabeled custom transaction as the privacy-safe fallback and
continue to later providers when resolving combined names.
Apply the same behavior across the Spring, Spring Jakarta, and Spring 7
integrations.
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: sentry-spring-7/api/sentry-spring-7.api
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,11 @@ public final class io/sentry/spring7/SpringSecuritySentryUserProvider : io/sentr
104
104
public fun provideUser ()Lio/sentry/protocol/User;
105
105
}
106
106
107
+
public final class io/sentry/spring7/TransactionNameProviderUtils {
108
+
public static fun provideTransactionName (Lio/sentry/spring7/tracing/TransactionNameProvider;Ljakarta/servlet/http/HttpServletRequest;Lio/sentry/ILogger;)Ljava/lang/String;
109
+
public static fun provideTransactionNameAndSource (Lio/sentry/spring7/tracing/TransactionNameProvider;Ljakarta/servlet/http/HttpServletRequest;Lio/sentry/ILogger;Lio/sentry/spring7/tracing/TransactionNameWithSource;)Lio/sentry/spring7/tracing/TransactionNameWithSource;
110
+
}
111
+
107
112
public final class io/sentry/spring7/cache/SentryCacheBeanPostProcessor : org/springframework/beans/factory/config/BeanPostProcessor, org/springframework/core/PriorityOrdered {
0 commit comments