We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ddf2ec8 + 86c6a6c commit 2bb0ffbCopy full SHA for 2bb0ffb
2 files changed
changelog.d/19869.bugfix
@@ -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
@@ -1879,7 +1879,7 @@ def simple_select_one_onecol_txn(
1879
if allow_none:
1880
return None
1881
else:
1882
- raise StoreError(404, "No row found")
+ raise StoreError(404, f"No row found ({table})")
1883
1884
@staticmethod
1885
def simple_select_onecol_txn(
0 commit comments