Merge branch 'master' into improved-logging

This commit is contained in:
Hossein Shafagh
2020-10-23 07:59:30 -07:00
committed by GitHub
4 changed files with 89 additions and 5 deletions

View File

@ -115,7 +115,12 @@ def handle_response(my_response):
"response": d
}
current_app.logger.info(log_data)
return d
if d == {'response': 'No detailed message'}:
# status if no data
return s
else:
# return data from the response
return d
class EntrustIssuerPlugin(IssuerPlugin):