|
From: SVN c. m. f. t. SWORD-A. p. <swo...@li...> - 2012-02-21 16:50:25
|
Revision: 467
http://sword-app.svn.sourceforge.net/sword-app/?rev=467&view=rev
Author: richard-jones
Date: 2012-02-21 16:50:14 +0000 (Tue, 21 Feb 2012)
Log Message:
-----------
add minor logging improvements
Modified Paths:
--------------
sss/branches/sss-2/sss/pylons_sword_controller.py
Modified: sss/branches/sss-2/sss/pylons_sword_controller.py
===================================================================
--- sss/branches/sss-2/sss/pylons_sword_controller.py 2012-02-09 16:56:15 UTC (rev 466)
+++ sss/branches/sss-2/sss/pylons_sword_controller.py 2012-02-21 16:50:14 UTC (rev 467)
@@ -112,8 +112,10 @@
response.status_int = sword_error.status
ssslog.info("Returning error (" + str(sword_error.status) + ") - " + str(sword_error.error_uri))
if not sword_error.empty:
+ ssslog.debug("Returning error document: " + sword_error.error_document)
response.content_type = "text/xml"
return sword_error.error_document
+ ssslog.debug("Returning empty body in error response")
return
def _map_webpy_headers(self, headers):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|