fix: kv logs when KeyNotSet is returned (#2928)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Kartikeya Hegde
2023-11-22 16:34:17 +05:30
committed by GitHub
parent 46e13d5475
commit 6954de77a0
2 changed files with 9 additions and 3 deletions

View File

@ -8,6 +8,8 @@ pub enum RedisError {
InvalidConfiguration(String),
#[error("Failed to set key value in Redis")]
SetFailed,
#[error("Failed to set key value in Redis. Duplicate value")]
SetNxFailed,
#[error("Failed to set key value with expiry in Redis")]
SetExFailed,
#[error("Failed to set expiry for key value in Redis")]