Skip to content

Commit 2bb0ffb

Browse files
committed
Merge branch 'develop' into madlittlemods/deferred-and-tokio-runtime-crates
2 parents ddf2ec8 + 86c6a6c commit 2bb0ffb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

changelog.d/19869.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make simple_select_one_onecol_txn() more helpful by naming the table of the select - as all other query wrapper functions already did.

synapse/storage/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ def simple_select_one_onecol_txn(
18791879
if allow_none:
18801880
return None
18811881
else:
1882-
raise StoreError(404, "No row found")
1882+
raise StoreError(404, f"No row found ({table})")
18831883

18841884
@staticmethod
18851885
def simple_select_onecol_txn(

0 commit comments

Comments
 (0)