Skip to content

Commit

Permalink
handle docusign initialize exception
Browse files Browse the repository at this point in the history
Signed-off-by: Umesh Lumbhani <umeshl@proximabiz.com>
  • Loading branch information
umeshlumbhani247 committed Jul 12, 2023
1 parent 8d69f09 commit eb26db6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cla-backend/cla/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ def get_signing_service(conf=None, initialize=True):
raise Exception('Invalid signing service selected in configuration: %s' % signing_service)
signing_service_instance = signing()
if initialize:
signing_service_instance.initialize(conf)
resp = signing_service_instance.initialize(conf)
if resp != None:
raise Exception('docusign authentication error : %s' % resp["errors"])
return signing_service_instance


Expand Down

0 comments on commit eb26db6

Please sign in to comment.