Skip to content

Commit

Permalink
correcting error output in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pyroraptor07 committed Oct 30, 2022
1 parent 6e0d362 commit afb428f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/cli_client_asyncstd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ use interactsh_rs::prelude::*;
#[async_std::main]
async fn main() {
if let Err(e) = color_eyre::install() {
eprintln!("Error: {}", e);
eprintln!("Error: {:?}", e);
}

if let Err(e) = run_cli_client().await {
eprintln!("Error: {}", e);
eprintln!("Error: {:?}", e);
}
}

Expand Down
4 changes: 2 additions & 2 deletions examples/cli_client_smol/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ use smol::Timer;
fn main() {
smol::block_on(async {
if let Err(e) = color_eyre::install() {
eprintln!("Error: {}", e);
eprintln!("Error: {:?}", e);
}

if let Err(e) = run_cli_client().await {
eprintln!("Error: {}", e);
eprintln!("Error: {:?}", e);
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions examples/cli_client_tokio/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ use tokio::sync::oneshot;
#[tokio::main]
async fn main() {
if let Err(e) = color_eyre::install() {
eprintln!("Error: {}", e);
eprintln!("Error: {:?}", e);
}

if let Err(e) = run_cli_client().await {
eprintln!("Error: {}", e);
eprintln!("Error: {:?}", e);
}
}

Expand Down

0 comments on commit afb428f

Please sign in to comment.