File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
context/src/main/java/io/opentelemetry/context Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,8 @@ static ContextStorage createStorage(AtomicReference<Throwable> deferredStorageFa
127127 deferredStorageFailure .set (
128128 new IllegalStateException (
129129 "Found multiple ContextStorageProvider. Set the "
130- + "io.opentelemetry.context.ContextStorageProvider property to the fully "
130+ + CONTEXT_STORAGE_PROVIDER_PROPERTY
131+ + " property to the fully "
131132 + "qualified class name of the provider to use. Falling back to default "
132133 + "ContextStorage. Found providers: "
133134 + providers ));
@@ -142,7 +143,8 @@ static ContextStorage createStorage(AtomicReference<Throwable> deferredStorageFa
142143
143144 deferredStorageFailure .set (
144145 new IllegalStateException (
145- "io.opentelemetry.context.ContextStorageProvider property set but no matching class "
146+ CONTEXT_STORAGE_PROVIDER_PROPERTY
147+ + " property set but no matching class "
146148 + "could be found, requested: "
147149 + providerClassName
148150 + " but found providers: "
You can’t perform that action at this time.
0 commit comments