Revision 2b40f200

b/astakosclient/astakosclient/errors.py
33 33

  
34 34

  
35 35
class AstakosClientException(Exception):
36
    def __init__(self, message='', details='', status=None):
36
    def __init__(self, message='', details='', status=500):
37 37
        self.message = message
38 38
        self.details = details
39 39
        if not hasattr(self, 'status'):
b/snf-django-lib/snf_django/lib/api/faults.py
40 40

  
41 41

  
42 42
class Fault(Exception):
43
    def __init__(self, message='', details='', name='', code=None):
43
    def __init__(self, message='', details='', name='', code=500):
44 44
        self.message = message
45 45
        self.details = details
46 46
        if not hasattr(self, 'code'):

Also available in: Unified diff