Open carlaKC opened 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 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'
warcli network status
-32000: Error getting network status: [Errno 2] No such file or directory: '/root/.warnet/warnet/warnet/graph.graphml'
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'