From cad19672820174ff585c4d30247fd9daefea8c73 Mon Sep 17 00:00:00 2001 From: David Herberth Date: Fri, 19 Apr 2024 09:30:05 +0200 Subject: [PATCH] ref(cardinality): Include more information in script error (#3460) We had a few errors from this code path, I assume due to Redis failures but it would be nice to get more information in the future. --- relay-cardinality/src/redis/script.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/relay-cardinality/src/redis/script.rs b/relay-cardinality/src/redis/script.rs index 23e72b9462..a3b3d49589 100644 --- a/relay-cardinality/src/redis/script.rs +++ b/relay-cardinality/src/redis/script.rs @@ -65,6 +65,7 @@ impl FromRedisValue for CardinalityScriptResult { return Err(redis::RedisError::from(( redis::ErrorKind::TypeError, "Expected a sequence from the cardinality script", + format!("{v:?}"), ))); };