aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/Connection.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/DB/Connection.php')
-rw-r--r--lib/private/DB/Connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php
index 6b875bc42cc..a7164ecdc63 100644
--- a/lib/private/DB/Connection.php
+++ b/lib/private/DB/Connection.php
@@ -282,7 +282,7 @@ class Connection extends PrimaryReadReplicaConnection {
[
'tables' => $this->tableDirtyWrites,
'reads' => $tables,
- 'exception' => new \Exception(),
+ 'exception' => new \Exception('dirty table reads: ' . $sql),
],
);
// To prevent a dirty read on a replica that is slightly out of sync, we