From b4a399ce47b819b8a24182a5f5b17b728988d65d Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Tue, 11 Oct 2022 10:08:55 +0200 Subject: [PATCH] Slightly better error reporting --- limitador-server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limitador-server/src/main.rs b/limitador-server/src/main.rs index 820d3325..2006cc9d 100644 --- a/limitador-server/src/main.rs +++ b/limitador-server/src/main.rs @@ -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) } }