Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Improve error output of commands
Alexis Sellier committed 2 years ago
commit 366e61a0535b7ad71ec04487d0039a08a2e1f092
parent 5fa677c5fbc1a79d2d712a82117f2ece85c1e786
1 file changed +1 -1
modified radicle-cli/src/terminal.rs
@@ -130,7 +130,7 @@ pub fn fail(header: &str, error: &anyhow::Error) {
    let separator = if err.contains('\n') { ":\n" } else { ": " };

    println!(
-
        "{ERROR_PREFIX} {}{}{error:#}",
+
        "{ERROR_PREFIX} {}{}{error}",
        Paint::red(header).bold(),
        Paint::red(separator),
    );