Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions/create-git…
Browse files Browse the repository at this point in the history
…hub-app-token-1.11.2
  • Loading branch information
romtsn authored Feb 4, 2025
2 parents d1fb838 + a4fd36f commit d4f4fec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## Unreleased

### Fixes

- Do not log if `OtelContextScopesStorage` cannot be found ([#4127](https://github.com/getsentry/sentry-java/pull/4127))
- Previously `java.lang.ClassNotFoundException: io.sentry.opentelemetry.OtelContextScopesStorage` was shown in the log if the class could not be found.
- This is just a lookup the SDK performs to configure itself. The SDK also works without OpenTelemetry.

### Dependencies

- Bump Native SDK from v0.7.19 to v0.7.20 ([#4128](https://github.com/getsentry/sentry-java/pull/4128))
- [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0720)
- [diff](https://github.com/getsentry/sentry-native/compare/v0.7.19...0.7.20)

## 8.1.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ object Config {

val apolloKotlin = "com.apollographql.apollo3:apollo-runtime:3.8.2"

val sentryNativeNdk = "io.sentry:sentry-native-ndk:0.7.19"
val sentryNativeNdk = "io.sentry:sentry-native-ndk:0.7.20"

object OpenTelemetry {
val otelVersion = "1.44.1"
Expand Down
2 changes: 1 addition & 1 deletion sentry/src/main/java/io/sentry/Sentry.java
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ private static void initScopesStorage(SentryOptions options) {
if (SentryOpenTelemetryMode.OFF == options.getOpenTelemetryMode()) {
scopesStorage = new DefaultScopesStorage();
} else {
scopesStorage = ScopesStorageFactory.create(new LoadClass(), options.getLogger());
scopesStorage = ScopesStorageFactory.create(new LoadClass(), NoOpLogger.getInstance());
}
}

Expand Down

0 comments on commit d4f4fec

Please sign in to comment.