SOR | Wrong strategy value, strange error
4TT1L4 opened this issue · comments
Problem:
- If an invalid BOTC_EXECUTION_STRAT value is set, the logged error message is not really helpful:
geniusyield-orderbot-exe: user error (Parse failure: could not parse variable "BOTC_EXECUTION_STRAT" into type [Char])
The message contains some information about which env var is not correct, but it would be nice to print the possible values instead.
Solution:
- Improve the validation of the BOTC_EXECUTION_STRAT value and print a more helpful error message, so the users could easily fix config errors.