diff --git a/README.md b/README.md index 6c340120..ea89fd62 100644 --- a/README.md +++ b/README.md @@ -764,7 +764,7 @@ If you have trouble with your configuration, some useful tips. and you're sure that key is defined in your config file, they might appear e.g. when you're loading configuration from a thread that's not the JVM's main thread. Try passing the `ClassLoader` in manually - e.g. with `ConfigFactory.load(getClass().getClassLoader())` - or setting the context class loader. + or setting the context class loader. If you don't pass one, Lightbend Config uses the calling thread's `contextClassLoader`, and in some cases, it may not have your configuration files in its classpath, so loading the config on that thread can yield unexpected, erroneous results.