Changeset 418d8e9


Ignore:
Timestamp:
Nov 10, 2010 3:02:46 PM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
version-3.01, version-3.02
Children:
807b5ca
Parents:
b6ca289
Message:

Properly deal with a fault that is missing parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/remote_service.py

    rb6ca289 r418d8e9  
    502502                            'desc': e.fault.string or "Something Weird" }
    503503                if ee:
    504                     raise service_error(ee['code'], ee['desc'])
     504                    raise service_error(ee.get('code', 'no code'),
     505                            ee.get('desc','no desc'))
    505506                else:
    506507                    raise service_error(service_error.internal,
Note: See TracChangeset for help on using the changeset viewer.