From: erickson Date: Mon, 6 Mar 2006 22:47:05 +0000 (+0000) Subject: white space :) added some log lines X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=14ded23d56bbe3aac9f1e27bd0f2b34a630589f9;p=working%2FOpenSRF.git white space :) added some log lines git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@661 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libstack/osrf_cache.c b/src/libstack/osrf_cache.c index 7936ca0..13cb272 100644 --- a/src/libstack/osrf_cache.c +++ b/src/libstack/osrf_cache.c @@ -60,6 +60,7 @@ jsonObject* osrfCacheGetObject( char* key, ... ) { obj = jsonParseString( data ); return obj; } + osrfLogWarning(OSRF_LOG_MARK, "No cache data exists with key %s", VA_BUF); } return NULL; } @@ -69,6 +70,7 @@ char* osrfCacheGetString( char* key, ... ) { VA_LIST_TO_STRING(key); char* data = (char*) mc_aget(__osrfCache, VA_BUF, strlen(VA_BUF) ); osrfLogInternal( OSRF_LOG_MARK, "osrfCacheGetObject(): Returning object: %s", data); + if(!data) osrfLogWarning(OSRF_LOG_MARK, "No cache data exists with key %s", VA_BUF); return data; } return NULL;