Commit b9f5eef4 by Calen Pennington

Log an exception before swallowing it in a KeyValueMultiSaveError

parent 0f6ef444
......@@ -419,6 +419,7 @@ class UserStateCache(object):
pending_updates
)
except DatabaseError:
log.exception("Saving user state failed for %s", self.user.username)
raise KeyValueMultiSaveError([])
finally:
self._cache.update(pending_updates)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment