mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-03 22:26:24 +00:00
fix(core): don't log error when deleting an invalid key in memcached
This commit is contained in:
@@ -373,7 +373,7 @@ static memcached_st *handle = NULL;
|
||||
keyData = [key dataUsingEncoding: NSUTF8StringEncoding];
|
||||
rc = memcached_delete (handle, [keyData bytes], [keyData length],
|
||||
0);
|
||||
if (rc != MEMCACHED_SUCCESS)
|
||||
if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_NOTFOUND)
|
||||
[self errorWithFormat: (@"failure deleting cached value for key"
|
||||
@" '%@'"),
|
||||
key];
|
||||
|
||||
Reference in New Issue
Block a user