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

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jul 5 16:49:30 EDT 2007


Author: erickson
Date: 2007-07-05 16:45:36 -0400 (Thu, 05 Jul 2007)
New Revision: 1000

Modified:
   trunk/src/python/osrf/gateway.py
Log:
reformated error for easier reading

Modified: trunk/src/python/osrf/gateway.py
===================================================================
--- trunk/src/python/osrf/gateway.py	2007-07-05 17:58:49 UTC (rev 999)
+++ trunk/src/python/osrf/gateway.py	2007-07-05 20:45:36 UTC (rev 1000)
@@ -21,7 +21,7 @@
             response =urllib2.urlopen(request)
         except urllib2.HTTPError, e:
             # log this?
-            sys.stderr.write('HTTPError: code=%d : %s' % (e.code, str(e)))
+            sys.stderr.write('%s => %s?%s\n' % (str(e), self.buildURL(), params))
             raise e
             
         return self.handleResponse(response)



More information about the opensrf-commits mailing list