MatrixSynapse/synapse
Richard van der Hoff 1bbc9e2df6
Clean up exception handling in SAML2ResponseResource (#7614)
* Expose `return_html_error`, and allow it to take a Jinja2 template instead of a raw string

* Clean up exception handling in SAML2ResponseResource

  * use the existing code in `return_html_error` instead of re-implementing it
    (giving it a jinja2 template rather than inventing a new form of template)

  * do the exception-catching in the REST layer rather than in the handler
    layer, to make sure we catch all exceptions.
2020-06-03 10:41:12 +01:00
..
_scripts
api
app
appservice
config Clean up exception handling in SAML2ResponseResource (#7614) 2020-06-03 10:41:12 +01:00
crypto
events
federation
groups
handlers Clean up exception handling in SAML2ResponseResource (#7614) 2020-06-03 10:41:12 +01:00
http Clean up exception handling in SAML2ResponseResource (#7614) 2020-06-03 10:41:12 +01:00
logging
metrics
module_api
push
replication
res/templates
rest Clean up exception handling in SAML2ResponseResource (#7614) 2020-06-03 10:41:12 +01:00
server_notices
spam_checker_api
state
static
storage
streams
util
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py
server.pyi
types.py
visibility.py