Skip to content

Commit

Permalink
mz: more diagnostics to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Rami Chowdhury committed Aug 31, 2023
1 parent 216ca8c commit 2f0a3fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mz/src/command/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ pub async fn run(
let region_info = cx.get_region_info().await?;
let email = claims.await?.email;

println!(
eprintln!(
"Authenticated using profile '{}'.",
cx.config_file().profile()
);
if let Some(cluster) = cluster.clone() {
println!("Connected to cluster '{}'.", cluster);
eprintln!("Connected to cluster '{}'.", cluster);
} else {
println!("Connected to the default cluster.")
eprintln!("Connected to the default cluster.")
}

let _error = sql_client
Expand Down

0 comments on commit 2f0a3fe

Please sign in to comment.