web/_exceptions.py
branchstable
changeset 9921 8227358aa983
parent 8312 6c2119509fac
child 9984 793377697c81
--- a/web/_exceptions.py	Wed Jul 23 19:42:42 2014 +0200
+++ b/web/_exceptions.py	Thu Jun 05 17:41:14 2014 +0200
@@ -102,7 +102,7 @@
     """raised when a json remote call fails
     """
     def __init__(self, reason='', status=httplib.INTERNAL_SERVER_ERROR):
-        super(RemoteCallFailed, self).__init__(status=status)
+        super(RemoteCallFailed, self).__init__(reason, status=status)
         self.reason = reason
 
     def dumps(self):