Print non-output messages to stderr in subkey (#5286)

* Print non-output messages to stderr in subkey

* Update bin/utils/subkey/src/main.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
lwshang
2020-03-18 05:32:03 -04:00
committed by GitHub
parent 082b66434e
commit 648c8cb8cf
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ impl RpcClient {
client.insert_key(key_type, suri, public).map(|_| ())
})
.map_err(|e| {
println!("Error inserting key: {:?}", e);
eprintln!("Error inserting key: {:?}", e);
})
);
}