today I compiled v0.10.23 and it caught my eye the fact that I cannot check the version like I do with other binaries... also with neard...
~/build/near-indexer/target/release$ ./indexer-explorer --version
thread 'main' panicked at 'DATABASE_URL must be set in .env file: NotPresent', src/models/mod.rs:37:30
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Is this an undocumented feature or is it the expected output? I personally feel that "—version" must work straightforward at all times... YMMV.
Hello all!
today I compiled v0.10.23 and it caught my eye the fact that I cannot check the version like I do with other binaries... also with neard...
~/build/near-indexer/target/release$ ./indexer-explorer --version thread 'main' panicked at 'DATABASE_URL must be set in .env file: NotPresent', src/models/mod.rs:37:30 note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceIs this an undocumented feature or is it the expected output? I personally feel that "—version" must work straightforward at all times... YMMV.
Thanks