diff --git a/ChangeLog b/ChangeLog index c0718c7aa..6bf9e3aaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-06-01 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoCache.m (-setValue:forKey:expire:): display + the memcached error string when an error occurs. + 2010-05-28 Wolfgang Sourdeau * UI/WebServerResources/UIxComponentEditor.js: diff --git a/SoObjects/SOGo/SOGoCache.m b/SoObjects/SOGo/SOGoCache.m index 8415473cd..9d6da8159 100644 --- a/SoObjects/SOGo/SOGoCache.m +++ b/SoObjects/SOGo/SOGoCache.m @@ -233,8 +233,8 @@ static memcached_st *handle = NULL; expiration, 0); if (error != MEMCACHED_SUCCESS) [self logWithFormat: - @"memcached error: unable to cache values for key '%@'", - key]; + @"an error occurred when caching value for key '%@':" + @" \"%s\"", key, memcached_strerror(handle, error)]; //else //[self logWithFormat: @"memcached: cached values (%s) with subtype %@ //for user %@", value, theType, theLogin];