diff options
author | Schnuffle <schnuffle@gotec-cafe.de> | 2018-09-27 13:38:50 +0200 |
---|---|---|
committer | Schnuffle <schnuffle@gotec-cafe.de> | 2018-09-27 13:38:50 +0200 |
commit | dc5db01ff25dac6ec74ceea9b4d815a8c43cd7dd (patch) | |
tree | 7d60636ecf51d8cfef4340326b99b6506f4cccfd /synapse/api | |
parent | Merge pull request #3963 from matrix-org/rav/get_state_for_room_docstring (diff) | |
download | synapse-dc5db01ff25dac6ec74ceea9b4d815a8c43cd7dd.tar.xz |
Replaced all occurences of e.message with str(e)
Signed-off-by: Schnuffle <schnuffle@github.com>
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/filtering.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/filtering.py b/synapse/api/filtering.py index a31a9a17e0..eed8c67e6a 100644 --- a/synapse/api/filtering.py +++ b/synapse/api/filtering.py @@ -226,7 +226,7 @@ class Filtering(object): jsonschema.validate(user_filter_json, USER_FILTER_SCHEMA, format_checker=FormatChecker()) except jsonschema.ValidationError as e: - raise SynapseError(400, e.message) + raise SynapseError(400, str(e)) class FilterCollection(object): |