Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix warnings about losing log context during UI auth. (#7688)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Jun 12, 2020
1 parent d0a43d4 commit 2d11ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/7688.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix "Starting db txn 'get_completed_ui_auth_stages' from sentinel context" warning. The bug was introduced in 1.13.0rc1.
2 changes: 1 addition & 1 deletion synapse/storage/data_stores/main/ui_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ async def set_ui_auth_clientdict(
# The clientdict gets stored as JSON.
clientdict_json = json.dumps(clientdict)

self.db.simple_update_one(
await self.db.simple_update_one(
table="ui_auth_sessions",
keyvalues={"session_id": session_id},
updatevalues={"clientdict": clientdict_json},
Expand Down

0 comments on commit 2d11ea3

Please sign in to comment.