Open
Description
Currently, there is a standard way to obtain an env variable implemented here. There are 3 different ways to call that API depending on desired behaviour. The goal is to review where that API is used and unify its usage when an invalid env variable value is present. The correct behaviour is following:
- Print an ERROR level warning to the log and return the default value, if we can't propagate the error all the way to the user
- Return an error if we can propagate it all the way to the user