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 think that randy should load default(builtin) config when not found any.
It is strange that after installation we need to create/copy config file because it crash when we don't do it
thread 'main' panicked at 'Unable to open/read ./config/default.yml', src/main.rs:661:19
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Przerwane (zrzut pamięci)
The text was updated successfully, but these errors were encountered:
Yeah I think Im getting closer and closer to that... there are now quite a few defaults that are assumed... but still you must include at least one config file.
What I do with my own creations is embed the default config file using include_str! which can be written out using an option like --write-conf <path>... of course, I tend to want a default config that I can then use in a fallback chain via figment.
Either way, not a good idea to crash rather than displaying a clean failure message. When I saw the crash, my eyes glossed over the reason for the failure as I rushed to re-run it with RUST_BACKTRACE to figure out where the bug was.
I think that randy should load default(builtin) config when not found any.
It is strange that after installation we need to create/copy config file because it crash when we don't do it
The text was updated successfully, but these errors were encountered: