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
The general behavior is to attempt to load the config file and if that fails, bootstrap a new conifg based on environment variables.
If the radiate.cfg for some reason fails (knobs fails to load), the error will be hidden and the bootstrap process will incorrectly kick off. The result is potentially misleading error message (for example, it might say the TEAMCITY_URL is missing rather than report that the file was bad).
See KnobsConfig.scala ~L21
It's the load orElse create behaviour that's to blame.
The text was updated successfully, but these errors were encountered:
The general behavior is to attempt to load the config file and if that fails, bootstrap a new conifg based on environment variables.
If the
radiate.cfg
for some reason fails (knobs fails to load), the error will be hidden and the bootstrap process will incorrectly kick off. The result is potentially misleading error message (for example, it might say theTEAMCITY_URL
is missing rather than report that the file was bad).See
KnobsConfig.scala
~L21It's the
load orElse create
behaviour that's to blame.The text was updated successfully, but these errors were encountered: