[Opensrf-commits] r1286 - trunk/src/libopensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 18 14:26:56 EDT 2008
Author: erickson
Date: 2008-03-18 13:52:43 -0400 (Tue, 18 Mar 2008)
New Revision: 1286
Modified:
trunk/src/libopensrf/osrf_app_session.c
Log:
for easier debugging, logging method and params on NULL return
Modified: trunk/src/libopensrf/osrf_app_session.c
===================================================================
--- trunk/src/libopensrf/osrf_app_session.c 2008-03-16 18:18:27 UTC (rev 1285)
+++ trunk/src/libopensrf/osrf_app_session.c 2008-03-18 17:52:43 UTC (rev 1286)
@@ -163,7 +163,11 @@
}
}
- osrfLogInfo( OSRF_LOG_MARK, "Returning NULL from app_request_recv after timeout");
+ char* paramString = jsonObjectToJSON(req->payload->_params);
+ osrfLogInfo( OSRF_LOG_MARK, "Returning NULL from app_request_recv after timeout: %s %s",
+ req->payload->method_name, paramString);
+ free(paramString);
+
return NULL;
}
More information about the opensrf-commits
mailing list