Skip to content

Commit

Permalink
fix error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Sep 24, 2024
1 parent 3871f9d commit a0328c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/s3/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ async fn task(
_config: Config,
) -> Result<(), std::io::Error> {
let access_key = std::env::var("AWS_ACCESS_KEY").unwrap_or_else(|_| {
eprintln!("environment variable `AUTH_TOKEN` is not set");
eprintln!("environment variable `AWS_ACCESS_KEY` is not set");
std::process::exit(1);
});

let secret_key = std::env::var("AWS_SECRET_KEY").unwrap_or_else(|_| {
eprintln!("environment variable `AUTH_TOKEN` is not set");
eprintln!("environment variable `AWS_SECRET_KEY` is not set");
std::process::exit(1);
});

Expand Down

0 comments on commit a0328c6

Please sign in to comment.