Skip to content

Commit

Permalink
[log][xs]: Added captcha result log for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sagargg committed Jun 12, 2023
1 parent becf9b9 commit 8327a4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckanext/nhs/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def post(self, id):
if recaptcha:
try:
captcha_result = _reCapatcha_verify(recaptcha)
log.info('Captcha Result: {0}'.format(captcha_result))
if captcha_result['success'] == False:
raise Exception
except Exception as e:
Expand Down

0 comments on commit 8327a4f

Please sign in to comment.