Skip to content

Commit

Permalink
Slightly better error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed Oct 11, 2022
1 parent f8ffc83 commit b4a399c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limitador-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl Limiter {
match AsyncRedisStorage::new(redis_url).await {
Ok(storage) => storage,
Err(err) => {
eprintln!("Failed to connect to Redis: {}", err);
eprintln!("Failed to connect to Redis at {}: {}", redis_url, err);
process::exit(1)
}
}
Expand Down

0 comments on commit b4a399c

Please sign in to comment.