Drop the dot in error event messages.
Synapse has incosistent error messages, some contain a full stop while some don't, to avoid double dots remove our dot.
This commit is contained in:
parent
272e82aa76
commit
1466531d48
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class MatrixErrorEvent(MatrixEvent):
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, server, error_prefix, fatal, parsed_dict):
|
def from_dict(cls, server, error_prefix, fatal, parsed_dict):
|
||||||
try:
|
try:
|
||||||
message = "{prefix}: {error}.".format(
|
message = "{prefix}: {error}".format(
|
||||||
prefix=error_prefix,
|
prefix=error_prefix,
|
||||||
error=parsed_dict["error"])
|
error=parsed_dict["error"])
|
||||||
return cls(
|
return cls(
|
||||||
|
|
Loading…
Add table
Reference in a new issue