mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 22:53:51 +01:00
Remove unused variables
This commit is contained in:
parent
e3cbec10c1
commit
1bce3e6b35
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ class MessageHandler(BaseHandler):
|
||||||
# Ensure that we can round trip before trying to persist in db
|
# Ensure that we can round trip before trying to persist in db
|
||||||
try:
|
try:
|
||||||
dump = ujson.dumps(event.content)
|
dump = ujson.dumps(event.content)
|
||||||
load = ujson.loads(dump)
|
ujson.loads(dump)
|
||||||
except:
|
except:
|
||||||
logger.exception("Failed to encode content: %r", event.content)
|
logger.exception("Failed to encode content: %r", event.content)
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in a new issue