Skip to content

Commit

Permalink
ref(cardinality): Include more information in script error (#3460)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Dav1dde authored Apr 19, 2024
1 parent 34bb055 commit cad1967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relay-cardinality/src/redis/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}"),
)));
};

Expand Down

0 comments on commit cad1967

Please sign in to comment.