Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/helpers.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/helpers.py	(revision 14915)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/helpers.py	(revision 14916)
@@ -52,9 +52,9 @@
     try:
         h.request("POST", url, body=json.dumps(data), headers=headers)
+        resp = h.getresponse()
     except:
         return {'error': 'Socket Error: Connection to Remita gateway refused.'}
-    resp = h.getresponse()
     if resp.status!=200:
-        return {'error': 'Connection error (%s, %s)' % (resp.status, resp.reason)}
+        return {'error': 'Connection Error (%s, %s)' % (resp.status, resp.reason)}
     jsonout = resp.read()
     try:
