mirror of
https://github.com/status-im/nim-confutils.git
synced 2025-03-03 21:30:50 +00:00
We currently return `@[]` in `splitCompletionLine` when there is unexpected or unsupported input via environment variables, but let exceptions during parsing propagate to the caller. Catching those exceptions allows the caller to use same behaviour regardless of the nature of unexpected input (either through env, or parsing). Currently, callers don't seem to be aware of the exceptions, so going with the behaviour used for environment errors of returning `@[]`.