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
I have a config variable of the format variable-2 and when I run the app I receive an error:
Caused by: com.sksamuel.hoplite.ConfigException: Error loading config because:
...
- 'variable2': Missing from config
at com.sksamuel.hoplite.ConfigLoader$returnOrThrow$1.invoke(ConfigLoader.kt:190)
at com.sksamuel.hoplite.ConfigLoader$returnOrThrow$1.invoke(ConfigLoader.kt:187)
at com.sksamuel.hoplite.fp.ValidatedKt.getOrElse(Validated.kt:98)
at com.sksamuel.hoplite.ConfigLoader.returnOrThrow(ConfigLoader.kt:187)
I have to reformat it to variable2 for it to work.
The text was updated successfully, but these errors were encountered:
Yes, that would be the variable name. A more specific example of my actual variable format (I tried to obfuscate my code) would be the config key variable-name-2 with a corresponding variable called variableName2.
I have a config variable of the format
variable-2
and when I run the app I receive an error:I have to reformat it to
variable2
for it to work.The text was updated successfully, but these errors were encountered: