bitcoin-dev-project / warnet

Monitor and analyze the emergent behaviors of Bitcoin networks
https://warnet.dev
MIT License
59 stars 27 forks source link

warcli: network commands report errors when no network is running #353

Open carlaKC opened 2 weeks ago

carlaKC commented 2 weeks ago

This is just aesthetic/doesn't impact usage, but it would be nice to have friendlier errors when you run network status/info with no network running.

warcli network info -> -32000: Server error

warcli network status -> -32000: Error getting network status: [Errno 2] No such file or directory: '/root/.warnet/warnet/warnet/graph.graphml'