From 211239cc30fb71b368fc7f3e92524b62ddbcc883 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 1 May 2021 16:09:22 -0400 Subject: [PATCH] more debug messages --- src/redis_client.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/redis_client.rs b/src/redis_client.rs index 2721c285fd..b1f49772dd 100644 --- a/src/redis_client.rs +++ b/src/redis_client.rs @@ -83,6 +83,7 @@ impl RedisClient { pub async fn publish_bytes(&mut self, channel: &str, message: &[u8]) -> AnyhowResult { let connection = match &mut self.connection { None => { + warn!("Not connected to redis!"); return Err(anyhow!("Not connected")); }, Some(connection) => connection, @@ -100,6 +101,7 @@ impl RedisClient { } };*/ + info!("Publishing to redis pubsub channel: {}", channel); let result = connection.publish(channel, message).await?; Ok(result) }