[Opensrf-commits] r1295 - trunk/src/python/osrf

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 31 17:11:23 EDT 2008


Author: erickson
Date: 2008-03-31 16:35:20 -0400 (Mon, 31 Mar 2008)
New Revision: 1295

Modified:
   trunk/src/python/osrf/http_translator.py
Log:
logging http result status

Modified: trunk/src/python/osrf/http_translator.py
===================================================================
--- trunk/src/python/osrf/http_translator.py	2008-03-31 00:24:34 UTC (rev 1294)
+++ trunk/src/python/osrf/http_translator.py	2008-03-31 20:35:20 UTC (rev 1295)
@@ -85,7 +85,9 @@
 def handler(req):
     ''' Create the translator and tell it to process the request. '''
     child_init(req)
-    return HTTPTranslator(req).process()
+    status = HTTPTranslator(req).process()
+    osrf.log.log_debug("translator call resulted in status %d" % int(status))
+    return status
 
 class HTTPTranslator(object):
     def __init__(self, apreq):



More information about the opensrf-commits mailing list