Remove unused variables
This commit is contained in:
parent
e3cbec10c1
commit
1bce3e6b35
|
@ -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 New Issue