Fix context storage provider property name (#7318) (#7342)

This commit is contained in:
Laurent Tréguier 2025-05-11 18:55:11 +02:00 committed by GitHub
parent acc64ee012
commit e419b5d588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -127,7 +127,8 @@ final class LazyStorage {
deferredStorageFailure.set(
new IllegalStateException(
"Found multiple ContextStorageProvider. Set the "
+ "io.opentelemetry.context.ContextStorageProvider property to the fully "
+ CONTEXT_STORAGE_PROVIDER_PROPERTY
+ " property to the fully "
+ "qualified class name of the provider to use. Falling back to default "
+ "ContextStorage. Found providers: "
+ providers));
@ -142,7 +143,8 @@ final class LazyStorage {
deferredStorageFailure.set(
new IllegalStateException(
"io.opentelemetry.context.ContextStorageProvider property set but no matching class "
CONTEXT_STORAGE_PROVIDER_PROPERTY
+ " property set but no matching class "
+ "could be found, requested: "
+ providerClassName
+ " but found providers: "