to resolve 43705 (#44078)

pull/44265/head
Sumit Jaiswal 6 years ago committed by GitHub
parent 6af6e806ed
commit 6a395d8e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -158,7 +158,11 @@ class WapiBase(object):
class WapiLookup(WapiBase):
''' Implements WapiBase for lookup plugins '''
pass
def handle_exception(self, method_name, exc):
if ('text' in exc.response):
raise Exception(exc.response['text'])
else:
raise Exception(exc)
class WapiInventory(WapiBase):

Loading…
Cancel
Save