diff --git a/redis/vibe/db/redis/redis.d b/redis/vibe/db/redis/redis.d index 1e620b020..30179e9f8 100644 --- a/redis/vibe/db/redis/redis.d +++ b/redis/vibe/db/redis/redis.d @@ -33,7 +33,7 @@ import std.utf; */ RedisClient connectRedis(string host, ushort port = RedisClient.defaultPort) { - assert(!host.startsWith("redis://")); + assert(!host.startsWith("redis://", "Host must be a valid IP or domain, but not an URI.")); return new RedisClient(host, port); }