|
def test_connectivity(self): |
|
try: |
|
self._get_access_token() |
|
return True |
|
except Exception: |
|
return False |
Lines 90 and 91 are not allowing the exception to bubble up to the SOAR log so we don't know what is happening when the test_connectivity function fails in the SOAR Clearpass app. Removing those lines should give us a clearer error message.
Tasks
clearpass-api/src/clearpass/client.py
Lines 86 to 91 in 0239dd8
Lines 90 and 91 are not allowing the exception to bubble up to the SOAR log so we don't know what is happening when the
test_connectivityfunction fails in the SOAR Clearpass app. Removing those lines should give us a clearer error message.Tasks
Exceptionraise_on_status