diff options
author | Erik Johnston <erik@matrix.org> | 2019-02-18 15:11:04 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-02-18 15:11:04 +0000 |
commit | fe725f7e452363e60cb0daf8ef55af603adaa0df (patch) | |
tree | d22285987261deb3b9063a0f5bbc110e3c8bebba /synapse/storage | |
parent | Merge pull request #4643 from matrix-org/erikj/catch_exceptions (diff) | |
download | synapse-fe725f7e452363e60cb0daf8ef55af603adaa0df.tar.xz |
Cleanup top level request exception logging
Firstly, we always logged that the request was being handled via `JsonResource._async_render`, so we change that to use the servlet name we add to the request. Secondly, we pass the exception information to the logger rather than formatting it manually. This makes it consistent with other exception logging, allwoing logging hooks and formatters to access the exception information.
Diffstat (limited to 'synapse/storage')
0 files changed, 0 insertions, 0 deletions