mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:26:01 -04:00
Replaced all occurences of e.message with str(e)
Signed-off-by: Schnuffle <schnuffle@github.com>
This commit is contained in:
parent
2c695fd1aa
commit
dc5db01ff2
18 changed files with 19 additions and 19 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue