MCPcopy Create free account
hub / github.com/StackStorm/st2 / process_failure_response

Function process_failure_response

st2auth/st2auth/controllers/v1/sso.py:139–142  ·  view source on GitHub ↗
(status_code, exception)

Source from the content-addressed store, hash-verified

137
138
139def process_failure_response(status_code, exception):
140 LOG.error(str(exception))
141 json_body = {"faultstring": str(exception)}
142 return router.Response(status_code=status_code, json_body=json_body)
143
144
145sso_controller = SingleSignOnController()

Callers 2

postMethod · 0.85
getMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected