Skip to content
Snippets Groups Projects
Commit b9f5eef4 authored by Calen Pennington's avatar Calen Pennington
Browse files

Log an exception before swallowing it in a KeyValueMultiSaveError

parent 0f6ef444
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment