diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-06-03 10:41:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 10:41:12 +0100 |
commit | 1bbc9e2df6cf9251460ca110918d876d3f50a379 (patch) | |
tree | a265286c7b9acf3c97147e1db33c35444d083431 /changelog.d | |
parent | update grafana dashboard (diff) | |
download | synapse-1bbc9e2df6cf9251460ca110918d876d3f50a379.tar.xz |
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.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/7614.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7614.misc b/changelog.d/7614.misc new file mode 100644 index 0000000000..f0e24f9f61 --- /dev/null +++ b/changelog.d/7614.misc @@ -0,0 +1 @@ +Clean up exception handling in `SAML2ResponseResource`. |