Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit df733c3

Browse files
committedJan 26, 2016
Merge pull request #17 from smartive/fix/redis-set-logger-message
Fix logger message if unable to write a key using Redis
2 parents e36931f + b843786 commit df733c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Cache/Redis.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function set($name, $value)
8888
try {
8989
$this->redisClient->set($this->keyPrefix.$name, serialize($value));
9090
} catch (\Exception $e) {
91-
$this->logger->alert(sprintf('Failed to set value "%s" for key "%s" using Redis: %s', $value, $name, $e->getMessage()));
91+
$this->logger->alert(sprintf('Failed to write key "%s" using Redis: %s', $name, $e->getMessage()));
9292
}
9393
}
9494

0 commit comments

Comments
 (0)
This repository has been archived.