mirror of
https://github.com/talaia-labs/rust-teos.git
synced 2026-08-13 12:33:22 +02:00
Makes teos-cli cannot connect to backend error message more friendly
Let's not just spit a debug error when calling `teos-cli` pointing to an unreachable backend.
This commit is contained in:
parent
d1edc98a85
commit
c0f4ebc82c
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ async fn main() {
|
|||
})
|
||||
.connect()
|
||||
.await
|
||||
.unwrap_or_else(|e| {
|
||||
eprintln!("Could not connect to tower: {e:?}");
|
||||
.unwrap_or_else(|_| {
|
||||
eprintln!("Could not connect to tower. Is teosd running?");
|
||||
std::process::exit(1);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue