web/_exceptions.py
changeset 9984 793377697c81
parent 9791 32047f5f08ba
parent 9921 8227358aa983
child 10604 d4bf85db41f2
--- a/web/_exceptions.py	Fri Sep 12 09:49:01 2014 +0200
+++ b/web/_exceptions.py	Wed Sep 24 18:04:30 2014 +0200
@@ -101,7 +101,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):