adobe-apiplatform / user-sync.py

Application for synchronizing Adobe customer directories via the User Management API
https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/
MIT License
87 stars 67 forks source link

Add except block for SSLError in Okta connector #795

Closed ddybvig-perf closed 2 years ago

ddybvig-perf commented 2 years ago

Summary

If the host name is formatted incorrectly in connector-okta.yml, it triggers an unhandled exception. This PR adds a block of code to handle the particular exception that gets triggered in that case (namely requests.exceptions.SSLError) and raises an AssertionException instead.

Testing Steps

I did not write any new tests for this PR.

Fixes #601

adorton-adobe commented 2 years ago

I did another (and hopefully final) pass to remove all six references. Looks like that created a merge conflict. Will you please update your branch so I can get this merged?