From 667ed3c150163a80ca786cb50350810cefeca1e1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 1 Jun 2010 14:00:36 +0000 Subject: [PATCH] Monotone-Parent: 0de048fc2845b8e712e21700f4604fa0cd9eeea4 Monotone-Revision: 641421d6e4ce7672544edb67ce851e86c8df9e22 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-01T14:00:36 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/SOGoCache.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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];