cli: more explicit error message when rad node logs fail
If the rad node is spawned by systemd there won’t be any logs file
to read and rad node logs command will fail with the standard
error message from fs.
1 file changed
+7
-3
3ad84420
→
0ecdc764
modified radicle-cli/src/commands/node/control.rs
@@ -3,7 +3,7 @@ use std::fs::{File, OpenOptions};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -128,9 +128,13 @@ pub fn debug(node: &mut Node) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|